mirror of https://github.com/folke/lazy.nvim.git
parent
690f9e88e2
commit
261c2d6f95
|
@ -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…
Reference in New Issue