From 54d837fa543678314f33c325d96f4e18b1c0892e Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 3 May 2020 16:57:21 +0900 Subject: [PATCH] Load plugin before running funcref hook Fix #964 Fix https://github.com/junegunn/fzf.vim/issues/1008 --- plug.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/plug.vim b/plug.vim index bc02f03..25be27f 100644 --- a/plug.vim +++ b/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