+2
-2
lines changedFilter options
+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(¶ms);
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(¶ms);
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