mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-01 12:42:01 -07:00
[vim] Ignore exit status of 2 (#345)
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user