From 6b6a36f622bc6335c3c35941c4efb11b037659ec Mon Sep 17 00:00:00 2001 From: luozhiya Date: Wed, 22 Mar 2023 12:29:49 +0800 Subject: [PATCH] fix(home): show full reason for Not-Loaded no print --- lua/lazy/view/render.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/lazy/view/render.lua b/lua/lazy/view/render.lua index 0ff335a..91b8756 100644 --- a/lua/lazy/view/render.lua +++ b/lua/lazy/view/render.lua @@ -401,9 +401,11 @@ function M:plugin(plugin) local reason = {} for handler in pairs(Handler.types) do if plugin[handler] then + local trigger = {} for _, value in ipairs(plugin[handler]) do - reason[handler] = value + table.insert(trigger, type(value) == 'table' and value[1] or value) end + reason[handler] = table.concat(trigger, ' ') end end for _, other in pairs(Config.plugins) do