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
70cfdc99bd
commit
ff9c9a8366
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user