mirror of
https://github.com/neovim/neovim
synced 2025-07-16 09:11:51 +00:00
Merge pull request #19001 from neovim/backport-18861-to-release-0.7
[Backport release-0.7] fix(startup): nvim with --clean should not load user rplugins
This commit is contained in:
@ -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
|
||||
|
@ -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)) {
|
||||
|
Reference in New Issue
Block a user