mirror of
https://github.com/Ascyii/vim-gnupg.git
synced 2026-01-01 06:14:24 -05:00
Change autocmd check to look for GnuPG group
Signed-off-by: James McCoy <vega.james@gmail.com>
This commit is contained in:
@@ -136,10 +136,10 @@
|
||||
" Section: Plugin header {{{1
|
||||
|
||||
" 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
|
||||
endif
|
||||
let g:loaded_gnupg = '2.3'
|
||||
let g:loaded_gnupg = '2.4'
|
||||
let s:GPGInitRun = 0
|
||||
|
||||
" check for correct vim version {{{2
|
||||
|
||||
Reference in New Issue
Block a user