[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
This commit is contained in:
Junegunn Choi 2016-02-12 12:33:47 +09:00
parent 40d934e378
commit 2b3e740569

View File

@ -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)