From b9a0a498d5a9dce9e562b7e31eb284436f53143a Mon Sep 17 00:00:00 2001 From: Markus Braun Date: Fri, 17 Jul 2009 09:02:15 +0000 Subject: [PATCH] Prefix "GnuPG: " to all debug messages --- plugin/gnupg.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/gnupg.vim b/plugin/gnupg.vim index 1106587..adb8ac2 100644 --- a/plugin/gnupg.vim +++ b/plugin/gnupg.vim @@ -192,7 +192,7 @@ function s:GPGInit() let g:GPGPreferSign = 0 endif - " check if debugging is turned on + " start with empty default recipients if none is defined so far if (!exists("g:GPGDefaultRecipients")) let g:GPGDefaultRecipients = [] endif @@ -1043,7 +1043,7 @@ endfunction " output debug message, if this message has high enough importance function s:GPGDebug(level, text) if (g:GPGDebugLevel >= a:level) - echom a:text + echom "GnuPG: " . a:text endif endfunction