This commit is contained in:
Chris Weyl
2025-02-03 12:25:58 +01:00
committed by GitHub

View File

@@ -2859,5 +2859,17 @@ if exists('g:plugs')
call s:define_commands() call s:define_commands()
endif 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 let &cpo = s:cpo_save
unlet s:cpo_save unlet s:cpo_save