diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-06-04 18:35:28 +0200 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2022-06-04 18:37:54 +0200 |
commit | aad20de5ab544980769f32abc0bf61b37a6998e6 (patch) | |
tree | 9f20c2fa255a49af3385b43abcda456509189ddf /runtime | |
parent | df4ffce543ba0d4e2464b3978f4e66eaddf6a29a (diff) | |
download | rneovim-aad20de5ab544980769f32abc0bf61b37a6998e6.tar.gz rneovim-aad20de5ab544980769f32abc0bf61b37a6998e6.tar.bz2 rneovim-aad20de5ab544980769f32abc0bf61b37a6998e6.zip |
fix(startup): nvim with --clean should not load user rplugins
runtime rplugins such like legacy script providers are not affected
by this change.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/plugin/rplugin.vim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/plugin/rplugin.vim b/runtime/plugin/rplugin.vim index 122d8d47f8..52f4bd05bc 100644 --- a/runtime/plugin/rplugin.vim +++ b/runtime/plugin/rplugin.vim @@ -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 |