Check for our BufReadCmd to see if the plugin has been loaded.

Signed-off-by: James Vega <vega.james@gmail.com>
This commit is contained in:
James Vega 2011-05-24 01:14:45 -04:00 committed by James McCoy
parent bf67f5561a
commit 6e178a6dd1

View File

@ -123,7 +123,7 @@
" 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("#BufReadPre#*.\(gpg\|asc\|pgp\)")) if (exists("g:loaded_gnupg") || &cp || exists("#BufReadCmd*.\(gpg\|asc\|pgp\)"))
finish finish
endif endif
let g:loaded_gnupg = "$Revision$" let g:loaded_gnupg = "$Revision$"