This commit is contained in:
Chris Weyl 2024-07-21 18:17:41 -04:00 committed by GitHub
commit bfa00760ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2859,5 +2859,17 @@ if exists('g:plugs')
call s:define_commands()
endif
function! plug#plugin_info(name) abort
return get(s:loaded, a:name, {})
endfunction
function! plug#loaded() abort
return keys(filter(copy(s:loaded), { k, v -> v }))
endfunction
function! plug#not_loaded() abort
return keys(filter(copy(s:loaded), { k, v -> !v }))
endfunction
let &cpo = s:cpo_save
unlet s:cpo_save