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
parent 987c1c1c08
commit 7ec46a5c12

View File

@ -123,7 +123,7 @@
" Section: Plugin header {{{1
" 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
endif
let g:loaded_gnupg = "$Revision: 3051 $"