From 2b3e740569d45861eb9d5c6ac3029192ef863b99 Mon Sep 17 00:00:00 2001
From: Junegunn Choi <junegunn.c@gmail.com>
Date: Fri, 12 Feb 2016 12:33:47 +0900
Subject: [PATCH] [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
---
 plugin/fzf.vim | 1 +
 1 file changed, 1 insertion(+)

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