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
70cfdc99bd
commit
ff9c9a8366
@ -1260,7 +1260,7 @@ function s:GPGDebug(level, text)
|
||||
if exists("g:GPGDebugLevel") && g:GPGDebugLevel >= a:level
|
||||
if exists("g:GPGDebugLog")
|
||||
execute "redir >> " . g:GPGDebugLog
|
||||
echom "GnuPG: " . a:text
|
||||
silent echom "GnuPG: " . a:text
|
||||
redir END
|
||||
else
|
||||
echom "GnuPG: " . a:text
|
||||
|
Loading…
Reference in New Issue
Block a user