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
1 changed files with 3 additions and 0 deletions
3
plug.vim
3
plug.vim
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue