mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-19 10:35:38 -07:00
Ignore inconsistencies between g:plugs and g:plugs_order
https://github.com/junegunn/vim-plug/issues/469#issuecomment-226965736
This commit is contained in:
parent
05a1620bb1
commit
460fbe82e0
3
plug.vim
3
plug.vim
@ -196,6 +196,9 @@ function! plug#end()
|
|||||||
|
|
||||||
filetype off
|
filetype off
|
||||||
for name in g:plugs_order
|
for name in g:plugs_order
|
||||||
|
if !has_key(g:plugs, name)
|
||||||
|
continue
|
||||||
|
endif
|
||||||
let plug = g:plugs[name]
|
let plug = g:plugs[name]
|
||||||
if get(s:loaded, name, 0) || !has_key(plug, 'on') && !has_key(plug, 'for')
|
if get(s:loaded, name, 0) || !has_key(plug, 'on') && !has_key(plug, 'for')
|
||||||
let s:loaded[name] = 1
|
let s:loaded[name] = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user