Do not echo debug messages when redirecting to a log file
Signed-off-by: James McCoy <vega.james@gmail.com>
This commit is contained in:
parent
5489147a47
commit
6006af630b
@ -1260,7 +1260,7 @@ function s:GPGDebug(level, text)
|
|||||||
if exists("g:GPGDebugLevel") && g:GPGDebugLevel >= a:level
|
if exists("g:GPGDebugLevel") && g:GPGDebugLevel >= a:level
|
||||||
if exists("g:GPGDebugLog")
|
if exists("g:GPGDebugLog")
|
||||||
execute "redir >> " . g:GPGDebugLog
|
execute "redir >> " . g:GPGDebugLog
|
||||||
echom "GnuPG: " . a:text
|
silent echom "GnuPG: " . a:text
|
||||||
redir END
|
redir END
|
||||||
else
|
else
|
||||||
echom "GnuPG: " . a:text
|
echom "GnuPG: " . a:text
|
||||||
|
Loading…
x
Reference in New Issue
Block a user