From 8b38e3e859dc89e1f2fe808ea6f9a6b1a3c3f398 Mon Sep 17 00:00:00 2001 From: James McCoy Date: Thu, 31 May 2012 00:31:56 -0400 Subject: [PATCH] Change autocmd check to look for GnuPG group Signed-off-by: James McCoy --- plugin/gnupg.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/gnupg.vim b/plugin/gnupg.vim index 11ee552..4e5d3f5 100644 --- a/plugin/gnupg.vim +++ b/plugin/gnupg.vim @@ -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