mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-29 03:44:14 +00:00
deps_of_all_optional: add tests proving unneeded optional deps are now also discarded
This commit is contained in:
parent
aa8a33218b
commit
bba49c5ae4
2 changed files with 20 additions and 1 deletions
|
@ -240,7 +240,7 @@ function Spec:fix_disabled()
|
|||
end
|
||||
end
|
||||
|
||||
-- fix deps of plugins that are all optional
|
||||
-- fix deps of plugins that are completely optional
|
||||
self:fix_dependencies(all_optional_deps, dep_of, function(dep_name)
|
||||
self.plugins[dep_name] = nil
|
||||
end)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue