diff options
author | Gregory Anders <8965202+gpanders@users.noreply.github.com> | 2021-10-04 08:01:49 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-04 07:01:49 -0700 |
commit | c7a63f35db6f682dbdf0c4c045fdd43a763d3ae4 (patch) | |
tree | 7582c5331e61b9cdfca38411014d4cbe820990ca /src | |
parent | 44f7b46199aebedb0ff7f8ce782b375a0e156b27 (diff) | |
download | rneovim-c7a63f35db6f682dbdf0c4c045fdd43a763d3ae4.tar.gz rneovim-c7a63f35db6f682dbdf0c4c045fdd43a763d3ae4.tar.bz2 rneovim-c7a63f35db6f682dbdf0c4c045fdd43a763d3ae4.zip |
feat(startup): load builtin plugins with --clean #15893
Closes #15605
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c index f801351d2d..069c253bff 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -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. |