summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2015-04-23 19:29:42 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2015-04-23 19:29:59 +0900
commit857619995ef54d66141fc4de882481fc6c44d186 (patch)
treec488aa5a8353b5d3f497a6f3a51e1208fa525e60 /plugin
parent9310ae28abb733d95f5c5be693e490601661f6d6 (diff)
[vim] Ignore E325 (#213)
Diffstat (limited to 'plugin')
-rw-r--r--plugin/fzf.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim
index bb0b10b8..8301cb93 100644
--- a/plugin/fzf.vim
+++ b/plugin/fzf.vim
@@ -300,6 +300,7 @@ function! s:execute_term(dict, command, temps)
endfunction
function! s:callback(dict, temps)
+try
if !filereadable(a:temps.result)
let lines = []
else
@@ -323,6 +324,11 @@ function! s:callback(dict, temps)
endfor
return lines
+catch
+ if stridx(v:exception, ':E325:') < 0
+ echoerr v:exception
+ endif
+endtry
endfunction
let s:default_action = {