feat: getter for plugins

This commit is contained in:
Folke Lemaitre 2022-12-14 16:07:32 +01:00
parent 5c7d29e09d
commit 8de617c01b
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 5 additions and 0 deletions

View File

@ -74,4 +74,9 @@ function M.bootstrap()
end
end
---@return LazyPlugin[]
function M.plugins()
return vim.tbl_values(require("lazy.core.config").plugins)
end
return M