Skip to content

Commit d51cf69

Browse files
committed
fix(meta): rebuild dirty right after disable. See #1889
1 parent 1c9ba37 commit d51cf69

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lua/lazy/core/meta.lua

+1-2
Original file line numberDiff line numberDiff line change
@@ -314,17 +314,16 @@ function M:fix_disabled()
314314
else
315315
self:disable(plugin)
316316
end
317+
self:rebuild()
317318
end
318319
end
319320
end
320321
end
321322
-- disable top-level plugins first, since they may have non-top-level frags
322323
-- that disable other plugins
323324
check(true)
324-
self:rebuild()
325325
-- then disable non-top-level plugins
326326
check(false)
327-
self:rebuild()
328327
return changes
329328
end
330329

0 commit comments

Comments
 (0)