Default of variable GPGUseAgent to 1

This way so the default behaviour is not changed compared to previous versions.
This commit is contained in:
Markus Braun 2006-11-21 08:54:56 +00:00
parent d0540c6b48
commit 8c2d996b57

View File

@ -44,7 +44,7 @@
" "
" Variables: " Variables:
" g:GPGUseAgent " 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: " Credits:
" Mathieu Clabaut for inspirations through his vimspell.vim script. " 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() fun s:GPGInit()
" check if gpg-agent is allowed " check if gpg-agent is allowed
if (!exists("g:GPGUseAgent")) if (!exists("g:GPGUseAgent"))
let g:GPGUseAgent = 0 let g:GPGUseAgent = 1
endif endif
" determine if gnupg can use the gpg-agent " determine if gnupg can use the gpg-agent