[vim] Ignore E325 (#213)

This commit is contained in:
Junegunn Choi 2015-04-23 19:29:42 +09:00
parent 9310ae28ab
commit 857619995e

View File

@ -300,6 +300,7 @@ function! s:execute_term(dict, command, temps)
endfunction endfunction
function! s:callback(dict, temps) function! s:callback(dict, temps)
try
if !filereadable(a:temps.result) if !filereadable(a:temps.result)
let lines = [] let lines = []
else else
@ -323,6 +324,11 @@ function! s:callback(dict, temps)
endfor endfor
return lines return lines
catch
if stridx(v:exception, ':E325:') < 0
echoerr v:exception
endif
endtry
endfunction endfunction
let s:default_action = { let s:default_action = {