mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-23 20:45:31 -07:00
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
plug.vim
1
plug.vim
@ -942,6 +942,7 @@ function! s:do(pull, force, todo)
|
|||||||
endif
|
endif
|
||||||
elseif type == s:TYPE.funcref
|
elseif type == s:TYPE.funcref
|
||||||
try
|
try
|
||||||
|
call s:load_plugin(spec)
|
||||||
let status = installed ? 'installed' : (updated ? 'updated' : 'unchanged')
|
let status = installed ? 'installed' : (updated ? 'updated' : 'unchanged')
|
||||||
call spec.do({ 'name': name, 'status': status, 'force': a:force })
|
call spec.do({ 'name': name, 'status': status, 'force': a:force })
|
||||||
catch
|
catch
|
||||||
|
Loading…
Reference in New Issue
Block a user