瀏覽代碼

Load plugin before running funcref hook

Fix #964
Fix https://github.com/junegunn/fzf.vim/issues/1008
Junegunn Choi 5 年之前
父節點
當前提交
54d837fa54
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      plug.vim

+ 1 - 0
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