mirror of
https://github.com/neovim/neovim
synced 2025-07-20 13:22:26 +00:00
fix(startup): nvim with --clean should not load user rplugins
runtime rplugins such like legacy script providers are not affected
by this change.
(cherry picked from commit aad20de5ab
)
This commit is contained in:
committed by
github-actions[bot]
parent
fdd5178581
commit
41709831ae
@ -62,4 +62,6 @@ endfunction
|
|||||||
|
|
||||||
command! -bar UpdateRemotePlugins call remote#host#UpdateRemotePlugins()
|
command! -bar UpdateRemotePlugins call remote#host#UpdateRemotePlugins()
|
||||||
|
|
||||||
call s:LoadRemotePlugins()
|
if index(v:argv, "--clean") < 0
|
||||||
|
call s:LoadRemotePlugins()
|
||||||
|
endif
|
||||||
|
@ -263,6 +263,8 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
nlua_init();
|
nlua_init();
|
||||||
|
|
||||||
|
TIME_MSG("init lua interpreter");
|
||||||
|
|
||||||
if (embedded_mode) {
|
if (embedded_mode) {
|
||||||
const char *err;
|
const char *err;
|
||||||
if (!channel_from_stdio(true, CALLBACK_READER_INIT, &err)) {
|
if (!channel_from_stdio(true, CALLBACK_READER_INIT, &err)) {
|
||||||
|
Reference in New Issue
Block a user