mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-20 13:26:45 +00:00
fix(loader): don't load handlers before installing plugins
This commit is contained in:
parent
ed6c9ffe21
commit
1cfd6d1f36
6 changed files with 49 additions and 25 deletions
|
@ -64,10 +64,11 @@ end
|
|||
|
||||
---@param plugin LazyPlugin
|
||||
function M:values(plugin)
|
||||
local Plugin = require("lazy.core.plugin")
|
||||
---@type table<string,any>
|
||||
local values = {}
|
||||
---@diagnostic disable-next-line: no-unknown
|
||||
for _, value in ipairs(plugin[self.type] or {}) do
|
||||
for _, value in ipairs(Plugin.values(plugin, self.type, true)) do
|
||||
local event = self:parse(value)
|
||||
values[event.id] = event
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue