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
987c1c1c08
commit
7ec46a5c12
@ -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: 3051 $"
|
let g:loaded_gnupg = "$Revision: 3051 $"
|
||||||
|
Loading…
Reference in New Issue
Block a user