fix(meta): rebuild dirty right after disable. See #1889

This commit is contained in:
Folke Lemaitre 2025-02-25 20:18:25 +01:00
parent 1c9ba37045
commit d51cf69783
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -314,6 +314,7 @@ function M:fix_disabled()
else
self:disable(plugin)
end
self:rebuild()
end
end
end
@ -321,10 +322,8 @@ function M:fix_disabled()
-- disable top-level plugins first, since they may have non-top-level frags
-- that disable other plugins
check(true)
self:rebuild()
-- then disable non-top-level plugins
check(false)
self:rebuild()
return changes
end