Closed gotgenes closed 4 years ago
I found this comment in raghur/fruzzy#11, and a reply from @Shougo which indicates hook_post_update
is the intended hook to be used, and the last form of
call dein#add('raghur/fruzzy', {'hook_post_update': 'call fruzzy#install()'})
is intended to work, but it does not, for a completely new cache.
It works for me.
And you don't understand that is intended to work, but it does not, for a completely new cache.
You need to explain it more clearly with reproduce instruction.
I will close it.
Note: To work hook_post_update
, fruzzy must be installed or updated.
All of these were using a fresh cache — removing call dein#add('raghur/fruzzy', …) from the init.vim, quitting, starting Neovim, calling call dein#recache_runtimepath(), adding back the next attempt of call dein#add(…, quitting Neovim, and starting Neovim again.
I don't understand.
Maybe I'm using the wrong hook, or maybe I'm using the hook incorrectly. I'm trying hard to understand dein better. I appreciate any help.
Yes. You seems dein's usage is wrong. But you don't upload the minimal vimrc. So I cannot help you. We have not ESP skills. Please read other issues.
call dein#add('raghur/fruzzy', {'hook_post_update': 'call fruzzy#install()'})
It should work. If it does not work, it may be bug. But your description is not understand-able.
Please compare the issue and your issue. https://github.com/Shougo/dein.vim/issues/373
Which issue is better to understand??
Now that I know this is a bug in dein, I have filed #375.
Thanks.
I'm trying to understand with dein how to do the equivalent of vim-plug's
do
for installing fruzzy with the native module. In the installation instructions, for vim-plug, the user should put the followingI feel like there must be an equivalent using dein's hooks, but I haven't figured it out. I first tried
this led to the error
I then tried
but this resulted in the error
I also tried
which resulted in the error
I then tried
which led to the error
All of these were using a fresh cache — removing
call dein#add('raghur/fruzzy', …)
from theinit.vim
, quitting, starting Neovim, callingcall dein#recache_runtimepath()
, adding back the next attempt ofcall dein#add(…
, quitting Neovim, and starting Neovim again.Maybe I'm using the wrong hook, or maybe I'm using the hook incorrectly. I'm trying hard to understand dein better. I appreciate any help.