Skip to content
Snippets Groups Projects
Commit bc2e82ef authored by Junegunn Choi's avatar Junegunn Choi
Browse files

[vim] Suppress error message when clear command is N/A

parent c04e8de9
No related branches found
No related tags found
No related merge requests found
......@@ -171,7 +171,7 @@ endfunction
function! s:execute(dict, command, temps)
call s:pushd(a:dict)
silent !clear
silent! !clear 2> /dev/null
if has('gui_running')
let launcher = get(a:dict, 'launcher', get(g:, 'fzf_launcher', s:launcher))
let command = printf(launcher, "'".substitute(a:command, "'", "'\"'\"'", 'g')."'")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment