Skip to content
Myr

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

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent c04e8de · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:plugin/fzf.vim+1 added-1 removed
169 unmodified lines
170endfunction171172function! s:execute(dict, command, temps)173 call s:pushd(a:dict)174 silent !clear174 silent! !clear 2> /dev/null175 if has('gui_running')176 let launcher = get(a:dict, 'launcher', get(g:, 'fzf_launcher', s:launcher))177 let command = printf(launcher, "'".substitute(a:command, "'", "'\"'\"'", 'g')."'")178 else
77 unmodified lines