From 48fba1454b333dc460a1530c25a7ffacd90bc5af Mon Sep 17 00:00:00 2001 From: Hori Ryota Date: Thu, 28 May 2015 00:57:55 +0900 Subject: [PATCH] Bugfix of on-demand loading --- plug.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plug.vim b/plug.vim index 3005dc2..87a8036 100644 --- a/plug.vim +++ b/plug.vim @@ -440,7 +440,7 @@ function! s:add(repo, ...) call add(g:plugs_order, name) endif let g:plugs[name] = spec - let s:loaded[name] = 0 + let s:loaded[name] = get(s:loaded, name, 0) catch return s:err(v:exception) endtry