Skip to content

Commit

Permalink
feat: getter for plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Dec 14, 2022
1 parent 5c7d29e commit 8de617c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lua/lazy/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8de617c

Please sign in to comment.