mirror of https://github.com/folke/lazy.nvim.git
feat: getter for plugins
This commit is contained in:
parent
5c7d29e09d
commit
8de617c01b
|
@ -74,4 +74,9 @@ function M.bootstrap()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
---@return LazyPlugin[]
|
||||||
|
function M.plugins()
|
||||||
|
return vim.tbl_values(require("lazy.core.config").plugins)
|
||||||
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
|
Loading…
Reference in New Issue