Closed shyun3 closed 5 months ago
It seems like a neovim bug. PlugInstall works well at vim.
It seems that recent nvim ignores paths that are not existent at the moment of setting rtp. So post-update hook fails for freshly installed plugins, while it works for updated plugins.
Refreshing rtp before running the post-update hook worked for me.
@@ -1031,6 +1031,7 @@ function! s:is_updated(dir)
endfunction
function! s:do(pull, force, todo)
+ let &rtp = &rtp
for [name, spec] in items(a:todo)
if !isdirectory(spec.dir)
continue
Relevant neovim issue: https://github.com/neovim/neovim/issues/18822
Post-update hook is unable to find
doge#helpers#deepextend
when usingManually running
:call doge#install()
afterwards works just fine.This seems to be related to #964. See also my comment in a related issue on the
vim-doge
repo.