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:
parent
bf67f5561a
commit
6e178a6dd1
@ -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$"
|
||||||
|
Loading…
Reference in New Issue
Block a user