Skip to content

Commit

Permalink
fix(plugin): check optional plugins again after resolving enabled. Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jun 15, 2024
1 parent eb49574 commit 067fd41
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lua/lazy/core/plugin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,9 @@ function Spec:fix_disabled()
end
end

-- check optional plugins again
self:fix_optional()

-- rebuild any plugin specs that were modified
self:rebuild()
end
Expand Down

0 comments on commit 067fd41

Please sign in to comment.