Closed
Description
Describe the bug
A clear and concise description of what the bug is.
local on_merge = function (spec, succ, _)
if succ then
return vim.schedule_wrap(function(j)
local out = table.concat(j:result(), "\n")
log.succ(fmt("`%s` has been updated successfully. %s: ", spec.name, out))
end)
else
return vim.schedule_wrap(function(j)
local out = table.concat(j:stderr_result(), "\n")
print(fmt("`%s` can't be merged, error %s", spec.name, out))
end)
end
end
on_merg|e(...)
jumping to definition of on_merge result in two suggestions :
Expected behavior
A clear and concise description of what you expected to happen.
One location instead of two
Thanks