Skip to content

Commit

Permalink
Merge pull request #19001 from neovim/backport-18861-to-release-0.7
Browse files Browse the repository at this point in the history
[Backport release-0.7] fix(startup): nvim with --clean should not load user rplugins
  • Loading branch information
clason committed Jun 17, 2022
2 parents fdd5178 + 4170983 commit 2ebc76b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion runtime/plugin/rplugin.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions src/nvim/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 2ebc76b

Please sign in to comment.