From 8c2d996b57337739f78a02c380918fdd6c92c7bf Mon Sep 17 00:00:00 2001 From: Markus Braun Date: Tue, 21 Nov 2006 08:54:56 +0000 Subject: [PATCH] Default of variable GPGUseAgent to 1 This way so the default behaviour is not changed compared to previous versions. --- plugin/gnupg.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/gnupg.vim b/plugin/gnupg.vim index f844b5d..51cb93f 100644 --- a/plugin/gnupg.vim +++ b/plugin/gnupg.vim @@ -44,7 +44,7 @@ " " Variables: " g:GPGUseAgent -" If set to 1 a possible available gpg-agent is used. Defaults to 0. +" If set to 0 a possible available gpg-agent won't be used. Defaults to 1. " " Credits: " Mathieu Clabaut for inspirations through his vimspell.vim script. @@ -98,7 +98,7 @@ highlight default GPGHighlightUnknownRecipient term=reverse ctermfg=Red cterm=un fun s:GPGInit() " check if gpg-agent is allowed if (!exists("g:GPGUseAgent")) - let g:GPGUseAgent = 0 + let g:GPGUseAgent = 1 endif " determine if gnupg can use the gpg-agent