Skip to content

Commit

Permalink
Ignore inconsistencies between g:plugs and g:plugs_order
Browse files Browse the repository at this point in the history
  • Loading branch information
junegunn committed Jun 19, 2016
1 parent 05a1620 commit 460fbe8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plug.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 460fbe8

Please sign in to comment.