From 460fbe82e07d0313543180eab9da9e257d0b1ab5 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 19 Jun 2016 11:18:08 +0900 Subject: [PATCH] Ignore inconsistencies between g:plugs and g:plugs_order https://github.com/junegunn/vim-plug/issues/469#issuecomment-226965736 --- plug.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plug.vim b/plug.vim index 82986bd..0d0e409 100644 --- a/plug.vim +++ b/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