aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-06-04 19:25:52 +0200
committerGitHub <noreply@github.com>2022-06-04 19:25:52 +0200
commit79a194a27844e34112a9befe854df98df06159d5 (patch)
tree9f20c2fa255a49af3385b43abcda456509189ddf /runtime
parentdf4ffce543ba0d4e2464b3978f4e66eaddf6a29a (diff)
parentaad20de5ab544980769f32abc0bf61b37a6998e6 (diff)
downloadrneovim-79a194a27844e34112a9befe854df98df06159d5.tar.gz
rneovim-79a194a27844e34112a9befe854df98df06159d5.tar.bz2
rneovim-79a194a27844e34112a9befe854df98df06159d5.zip
Merge pull request #18861 from bfredl/norplugin
fix(startup): nvim with --clean should not load user rplugins
Diffstat (limited to 'runtime')
-rw-r--r--runtime/plugin/rplugin.vim4
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