From 067fd41933c9f59eb3445eb942052c651a4c9a62 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Sat, 15 Jun 2024 09:11:36 +0200 Subject: [PATCH] fix(plugin): check optional plugins again after resolving enabled. Fixes #1402 --- lua/lazy/core/plugin.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/lazy/core/plugin.lua b/lua/lazy/core/plugin.lua index 91b36d3..8039b87 100644 --- a/lua/lazy/core/plugin.lua +++ b/lua/lazy/core/plugin.lua @@ -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