mirror of
https://github.com/Ascyii/vim-gnupg.git
synced 2026-01-01 14:24:25 -05:00
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:
@@ -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 $"
|
||||||
|
|||||||
Reference in New Issue
Block a user