Bugfix of on-demand loading
This commit is contained in:
parent
0bd23f5b47
commit
48fba1454b
1 changed files with 1 additions and 1 deletions
2
plug.vim
2
plug.vim
|
@ -440,7 +440,7 @@ function! s:add(repo, ...)
|
||||||
call add(g:plugs_order, name)
|
call add(g:plugs_order, name)
|
||||||
endif
|
endif
|
||||||
let g:plugs[name] = spec
|
let g:plugs[name] = spec
|
||||||
let s:loaded[name] = 0
|
let s:loaded[name] = get(s:loaded, name, 0)
|
||||||
catch
|
catch
|
||||||
return s:err(v:exception)
|
return s:err(v:exception)
|
||||||
endtry
|
endtry
|
||||||
|
|
Loading…
Reference in a new issue