[vim] Ignore exit status of 2 (#345)

pull/360/head
Junegunn Choi 9 years ago
parent 2022a3ad96
commit 8764be07e2

@ -229,7 +229,7 @@ function! s:execute(dict, command, temps)
redraw!
if v:shell_error
" Do not print error message on exit status 1
if v:shell_error > 1
if v:shell_error > 2
echohl ErrorMsg
echo 'Error running ' . command
endif

Loading…
Cancel
Save