Change autocmd check to look for GnuPG group

Signed-off-by: James McCoy <vega.james@gmail.com>
This commit is contained in:
James McCoy 2012-05-31 00:31:56 -04:00
parent 0f4778240f
commit 8b38e3e859

View File

@ -136,10 +136,10 @@
" Section: Plugin header {{{1 " Section: Plugin header {{{1
" guard against multiple loads {{{2 " guard against multiple loads {{{2
if (exists("g:loaded_gnupg") || &cp || exists("#BufReadCmd*.\(gpg\|asc\|pgp\)")) if (exists("g:loaded_gnupg") || &cp || exists("#GnuPG"))
finish finish
endif endif
let g:loaded_gnupg = '2.3' let g:loaded_gnupg = '2.4'
let s:GPGInitRun = 0 let s:GPGInitRun = 0
" check for correct vim version {{{2 " check for correct vim version {{{2