mirror of
https://github.com/junegunn/fzf.git
synced 2026-10-15 02:31:17 +08:00
1 parent
8764be07e2
commit
ca19762e58
3 files changed
+8
-6
No files matched your search
+3
-2
@@ -228,10 +228,11 @@ function! s:execute(dict, command, temps)
|
||||
execute 'silent !'.command
|
||||
redraw!
|
||||
if v:shell_error
|
||||
" Do not print error message on exit status 1
|
||||
if v:shell_error > 2
|
||||
" Do not print error message on exit status 1 (no match) or 130 (interrupt)
|
||||
if v:shell_error == 2
|
||||
echohl ErrorMsg
|
||||
echo 'Error running ' . command
|
||||
echohl None
|
||||
endif
|
||||
return []
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user