mirror of
https://github.com/Ascyii/vim-gnupg.git
synced 2026-01-01 06:14:24 -05:00
Default of variable GPGUseAgent to 1
This way so the default behaviour is not changed compared to previous versions.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user