Bugfix of on-demand loading

This commit is contained in:
Hori Ryota 2015-05-28 00:57:55 +09:00 committed by 堀 良太
parent 0bd23f5b47
commit 48fba1454b

View file

@ -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