Skip to content

Commit

Permalink
fix(ui): show full reason for Not-Loaded (#683)
Browse files Browse the repository at this point in the history
no print
  • Loading branch information
luozhiya committed Mar 22, 2023
1 parent 690f9e8 commit 261c2d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lua/lazy/view/render.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 261c2d6

Please sign in to comment.