From 261c2d6f95f1e71480c0a573275bbe4fb2c705a2 Mon Sep 17 00:00:00 2001 From: luozhiya Date: Wed, 22 Mar 2023 16:04:36 +0800 Subject: [PATCH] fix(ui): show full reason for Not-Loaded (#683) 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