bug: children specs
are not properly ignored when disabling a plugin
#1889
Labels
bug
Something isn't working
specs
are not properly ignored when disabling a plugin
#1889
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.10.3
Operating system/version
Arch Linux
Describe the bug
When using the
specs
property in a Lazy plugin specification to add non dependency spec modifications it seems that they are always applied even when the parent plugin is disabled. These specifications should be ignored since the plugin that adds them is no longer enabledSteps To Reproduce
nvim -u repro.lua
, start up the minimal configuration:Lazy
, open lazy and see thatplenary.nvim
is disabled even though it shouldn'tExpected Behavior
plenary.nvim
should not be disabled becauselazydev.nvim
is disabled which should invalidate all of the children specs under it.Repro
The text was updated successfully, but these errors were encountered: