summaryrefslogtreecommitdiff
path: root/plugin/fzf.vim
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/fzf.vim')
-rw-r--r--plugin/fzf.vim5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim
index e6aecf40..d9ced8ef 100644
--- a/plugin/fzf.vim
+++ b/plugin/fzf.vim
@@ -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