[vim] ignore stderr from executing default command

This commit is contained in:
Mark Wallace 2016-07-21 20:48:28 +08:00
parent 0f3b7f1ee3
commit 95b99e62cb

View file

@ -124,7 +124,7 @@ try
if !has_key(dict, 'source') && !empty($SKIM_DEFAULT_COMMAND)
let temps.source = tempname()
call writefile(split($SKIM_DEFAULT_COMMAND, "\n"), temps.source)
let dict.source = (empty($SHELL) ? 'sh' : $SHELL) . ' ' . s:shellesc(temps.source)
let dict.source = (empty($SHELL) ? 'sh' : $SHELL) . ' ' . s:shellesc(temps.source) . ' 2>/dev/null'
endif
if has_key(dict, 'source')