A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/neovim/neovim/commit/ed1a9c310df178e1163c910f70b194a657ad055a below:

enable filetype detection and syntax highlighting with --clean (… · neovim/neovim@ed1a9c3 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+2

-2

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+2

-2

lines changed Original file line number Diff line number Diff line change

@@ -357,7 +357,7 @@ int main(int argc, char **argv)

357 357

// Execute --cmd arguments.

358 358

exe_pre_commands(&params);

359 359 360 -

if (!vimrc_none) {

360 +

if (!vimrc_none || params.clean) {

361 361

// Sources ftplugin.vim and indent.vim. We do this *before* the user startup scripts to ensure

362 362

// ftplugins run before FileType autocommands defined in the init file (which allows those

363 363

// autocommands to overwrite settings from ftplugins).

@@ -368,7 +368,7 @@ int main(int argc, char **argv)

368 368

source_startup_scripts(&params);

369 369 370 370

// If using the runtime (-u is not NONE), enable syntax & filetype plugins.

371 -

if (!vimrc_none) {

371 +

if (!vimrc_none || params.clean) {

372 372

// Sources filetype.lua and filetype.vim unless the user explicitly disabled it with :filetype

373 373

// off.

374 374

filetype_maybe_enable();

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4