mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-20 13:26:45 +00:00
fix(meta): resolve deps from meta instead of fragments. Fixes #1566
This commit is contained in:
parent
24a86d5ca4
commit
6a423278a1
2 changed files with 77 additions and 27 deletions
|
@ -198,7 +198,10 @@ function M:_rebuild(name)
|
|||
|
||||
-- dependencies
|
||||
for _, dep in ipairs(fragment.deps or {}) do
|
||||
table.insert(plugin.dependencies, self.fragments:get(dep).name)
|
||||
local dep_meta = self.frag_to_meta[dep]
|
||||
if dep_meta then
|
||||
table.insert(plugin.dependencies, dep_meta.name)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue