mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-19 18:47:29 -07:00
Bugfix of on-demand loading
This commit is contained in:
parent
0bd23f5b47
commit
48fba1454b
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 New Issue
Block a user