Merge pull request #18861 from bfredl/norplugin

fix(startup): nvim with --clean should not load user rplugins
This commit is contained in:
bfredl
2022-06-04 19:25:52 +02:00
committed by GitHub
2 changed files with 5 additions and 1 deletions

View File

@@ -62,4 +62,6 @@ endfunction
command! -bar UpdateRemotePlugins call remote#host#UpdateRemotePlugins()
call s:LoadRemotePlugins()
if index(v:argv, "--clean") < 0
call s:LoadRemotePlugins()
endif

View File

@@ -263,6 +263,8 @@ int main(int argc, char **argv)
nlua_init();
TIME_MSG("init lua interpreter");
if (embedded_mode) {
const char *err;
if (!channel_from_stdio(true, CALLBACK_READER_INIT, &err)) {