mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-28 19:34:15 +00:00
fix(home): show full reason for Not-Loaded
no print
This commit is contained in:
parent
690f9e88e2
commit
6b6a36f622
1 changed files with 3 additions and 1 deletions
|
@ -401,9 +401,11 @@ function M:plugin(plugin)
|
||||||
local reason = {}
|
local reason = {}
|
||||||
for handler in pairs(Handler.types) do
|
for handler in pairs(Handler.types) do
|
||||||
if plugin[handler] then
|
if plugin[handler] then
|
||||||
|
local trigger = {}
|
||||||
for _, value in ipairs(plugin[handler]) do
|
for _, value in ipairs(plugin[handler]) do
|
||||||
reason[handler] = value
|
table.insert(trigger, type(value) == 'table' and value[1] or value)
|
||||||
end
|
end
|
||||||
|
reason[handler] = table.concat(trigger, ' ')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
for _, other in pairs(Config.plugins) do
|
for _, other in pairs(Config.plugins) do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue