Skip to content

Commit 067fd41

Browse files
committed
fix(plugin): check optional plugins again after resolving enabled. Fixes #1402
1 parent eb49574 commit 067fd41

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lua/lazy/core/plugin.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,9 @@ function Spec:fix_disabled()
319319
end
320320
end
321321

322+
-- check optional plugins again
323+
self:fix_optional()
324+
322325
-- rebuild any plugin specs that were modified
323326
self:rebuild()
324327
end

0 commit comments

Comments
 (0)