summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2016-02-12 12:33:47 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2016-02-12 12:33:47 +0900
commit2b3e740569d45861eb9d5c6ac3029192ef863b99 (patch)
tree26abcb7806e86206d93994a8b900bdbd8b077857 /plugin
parent40d934e378ec2072c9d807f7ca1fca73bda1d13d (diff)
[neovim] Fix error in finally block when callback failed
e.g. Opening another buffer when `set nohidden` https://github.com/junegunn/fzf.vim/issues/77
Diffstat (limited to 'plugin')
-rw-r--r--plugin/fzf.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim
index f84edfa4..80b85d28 100644
--- a/plugin/fzf.vim
+++ b/plugin/fzf.vim
@@ -344,6 +344,7 @@ function! s:execute_term(dict, command, temps)
endif
call s:pushd(self.dict)
+ let ret = []
try
let ret = s:callback(self.dict, self.temps)