There was an error while loading. Please reload this page.
1 parent 3264b81 commit 2f8f04cCopy full SHA for 2f8f04c
1 file changed
plug.vim
@@ -1040,6 +1040,11 @@ function! s:is_updated(dir)
1040
endfunction
1041
1042
function! s:do(pull, force, todo)
1043
+ if has('nvim')
1044
+ " Reset &rtp to invalidate Neovim cache of loaded Lua modules
1045
+ " See https://github.com/junegunn/vim-plug/pull/1157#issuecomment-1809226110
1046
+ let &rtp = &rtp
1047
+ endif
1048
for [name, spec] in items(a:todo)
1049
if !isdirectory(spec.dir)
1050
continue
0 commit comments