Closed kuuote closed 3 years ago
Can't call hook post_source when vim starting at after auto_recache
post_source
Can call post_source always.
dein.vim version(SHA1): 86153f6c9127cfb63ec140a5a47f006a30318bdb
OS: Arch Linux
Vim/neovim version: NVIM v0.5.0-dev+1374-g7d4f890aa
Place these files to ~/.vim
~/.vim
vimrc:
set runtimepath^=/data/vim/repos/github.com/Shougo/dein.vim/ let g:dein#auto_recache = 1 if dein#load_state($HOME .. '/.vim/dein') call dein#begin($HOME .. '/.vim/dein') call dein#load_toml($HOME .. '/.vim/a.toml') call dein#end() call dein#save_state() endif autocmd VimEnter * call dein#call_hook('post_source')
a.toml:
[[plugins]] repo = 'Shougo/dein.vim' hook_post_source = ''' echo 'hoge' '''
:call dein#install()
hook_post_source
hoge
Problems summary
Can't call hook
post_source
when vim starting at after auto_recacheExpected
Can call
post_source
always.Environment Information (Required!)
dein.vim version(SHA1): 86153f6c9127cfb63ec140a5a47f006a30318bdb
OS: Arch Linux
Vim/neovim version: NVIM v0.5.0-dev+1374-g7d4f890aa
Provide a minimal .vimrc with less than 50 lines (Required!)
Place these files to
~/.vim
vimrc:
a.toml:
The reproduce ways from Vim starting (Required!)
:call dein#install()
hook_post_source
properly at this stage.hoge
was not shown.