Prefix "GnuPG: " to all debug messages
This commit is contained in:
parent
16412c1b18
commit
b9a0a498d5
@ -192,7 +192,7 @@ function s:GPGInit()
|
|||||||
let g:GPGPreferSign = 0
|
let g:GPGPreferSign = 0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" check if debugging is turned on
|
" start with empty default recipients if none is defined so far
|
||||||
if (!exists("g:GPGDefaultRecipients"))
|
if (!exists("g:GPGDefaultRecipients"))
|
||||||
let g:GPGDefaultRecipients = []
|
let g:GPGDefaultRecipients = []
|
||||||
endif
|
endif
|
||||||
@ -1043,7 +1043,7 @@ endfunction
|
|||||||
" output debug message, if this message has high enough importance
|
" output debug message, if this message has high enough importance
|
||||||
function s:GPGDebug(level, text)
|
function s:GPGDebug(level, text)
|
||||||
if (g:GPGDebugLevel >= a:level)
|
if (g:GPGDebugLevel >= a:level)
|
||||||
echom a:text
|
echom "GnuPG: " . a:text
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user