mirror of
https://github.com/Ascyii/vim-gnupg.git
synced 2026-01-01 14:24:25 -05:00
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:
committed by
James McCoy
parent
5489147a47
commit
6006af630b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user