diff --git a/lua/lazy/view/render.lua b/lua/lazy/view/render.lua index 442e769..5b1f9af 100644 --- a/lua/lazy/view/render.lua +++ b/lua/lazy/view/render.lua @@ -411,13 +411,15 @@ function M:plugin(plugin) else self:append(" ") local reason = {} - for handler in pairs(Handler.types) do - if plugin[handler] then - local trigger = {} - for _, value in ipairs(plugin[handler]) do - table.insert(trigger, type(value) == "table" and value[1] or value) + if plugin._.kind ~= "disabled" then + for handler in pairs(Handler.types) do + if plugin[handler] then + local trigger = {} + for _, value in ipairs(plugin[handler]) do + table.insert(trigger, type(value) == "table" and value[1] or value) + end + reason[handler] = table.concat(trigger, " ") end - reason[handler] = table.concat(trigger, " ") end end for _, other in pairs(Config.plugins) do