feat(startup): load builtin plugins with --clean #15893

Closes #15605
This commit is contained in:
Gregory Anders
2021-10-04 08:01:49 -06:00
committed by GitHub
parent 44f7b46199
commit c7a63f35db
2 changed files with 4 additions and 2 deletions

View File

@@ -345,7 +345,8 @@ int main(int argc, char **argv)
// Reset 'loadplugins' for "-u NONE" before "--cmd" arguments.
// Allows for setting 'loadplugins' there.
if (params.use_vimrc != NULL && strequal(params.use_vimrc, "NONE")) {
p_lpl = false;
// When using --clean we still want to load plugins
p_lpl = params.clean;
}
// Execute --cmd arguments.