From 616192b2365cce1dd05c01d17c1a4233218cbd14 Mon Sep 17 00:00:00 2001 From: Markus Braun Date: Fri, 20 Nov 2009 20:39:49 +0000 Subject: [PATCH] Debug messages --- plugin/gnupg.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin/gnupg.vim b/plugin/gnupg.vim index f9cece0..97a387d 100644 --- a/plugin/gnupg.vim +++ b/plugin/gnupg.vim @@ -365,6 +365,8 @@ function s:GPGDecrypt() " finally decrypt the buffer content " since even with the --quiet option passphrase typos will be reported, " we must redirect stderr (using shell temporarily) + call s:GPGDebug(1, "decrypting file") + call s:GPGDebug(1, "command is '[,']!" . s:GPGCommand . " --quiet --decrypt " . s:stderrredirnull) let &shellredir = s:shellredir let &shell = s:shell exec "'[,']!" . s:GPGCommand . " --quiet --decrypt " . s:stderrredirnull