mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2025-01-10 18:24:39 +00:00
[vim] Ignore exit status of 2 (#345)
This commit is contained in:
parent
2022a3ad96
commit
8764be07e2
@ -229,7 +229,7 @@ function! s:execute(dict, command, temps)
|
|||||||
redraw!
|
redraw!
|
||||||
if v:shell_error
|
if v:shell_error
|
||||||
" Do not print error message on exit status 1
|
" Do not print error message on exit status 1
|
||||||
if v:shell_error > 1
|
if v:shell_error > 2
|
||||||
echohl ErrorMsg
|
echohl ErrorMsg
|
||||||
echo 'Error running ' . command
|
echo 'Error running ' . command
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user