mirror of
https://github.com/junegunn/fzf
synced 2024-11-16 12:12:48 +00:00
[vim] Suppress error message when clear command is N/A
This commit is contained in:
parent
c04e8de9b0
commit
bc2e82efc1
@ -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')."'")
|
||||
|
Loading…
Reference in New Issue
Block a user