Include function to check if plugin is loaded
This commit is contained in:
parent
46f843aafe
commit
ac4b9f35c7
4
plug.vim
4
plug.vim
|
@ -2260,6 +2260,10 @@ function! s:upgrade_specs()
|
||||||
endfor
|
endfor
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
function! plug#is_loaded(name)
|
||||||
|
return has_key(s:loaded, a:name)
|
||||||
|
endfunction
|
||||||
|
|
||||||
function! s:status()
|
function! s:status()
|
||||||
call s:prepare()
|
call s:prepare()
|
||||||
call append(0, 'Checking plugins')
|
call append(0, 'Checking plugins')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user