Load plugin before running funcref hook
Fix #964 Fix https://github.com/junegunn/fzf.vim/issues/1008
This commit is contained in:
parent
e718868e85
commit
54d837fa54
1 changed files with 1 additions and 0 deletions
1
plug.vim
1
plug.vim
|
@ -942,6 +942,7 @@ function! s:do(pull, force, todo)
|
|||
endif
|
||||
elseif type == s:TYPE.funcref
|
||||
try
|
||||
call s:load_plugin(spec)
|
||||
let status = installed ? 'installed' : (updated ? 'updated' : 'unchanged')
|
||||
call spec.do({ 'name': name, 'status': status, 'force': a:force })
|
||||
catch
|
||||
|
|
Loading…
Reference in a new issue