Ignore inconsistencies between g:plugs and g:plugs_order

https://github.com/junegunn/vim-plug/issues/469#issuecomment-226965736
This commit is contained in:
Junegunn Choi 2016-06-19 11:18:08 +09:00
parent 05a1620bb1
commit 460fbe82e0
No known key found for this signature in database
GPG key ID: 254BC280FEF9C627

View file

@ -196,6 +196,9 @@ function! plug#end()
filetype off
for name in g:plugs_order
if !has_key(g:plugs, name)
continue
endif
let plug = g:plugs[name]
if get(s:loaded, name, 0) || !has_key(plug, 'on') && !has_key(plug, 'for')
let s:loaded[name] = 1