mirror of https://github.com/folke/lazy.nvim.git
fix: show error when merging, but continue
This commit is contained in:
parent
b8a005510c
commit
f78d8bf376
|
@ -153,7 +153,7 @@ function Spec:merge(old, new)
|
||||||
---@diagnostic disable-next-line: no-unknown
|
---@diagnostic disable-next-line: no-unknown
|
||||||
old[k] = values
|
old[k] = values
|
||||||
else
|
else
|
||||||
error("Merging plugins is not supported for key `" .. k .. "`")
|
Util.error("Merging plugins is not supported for key `" .. k .. "`\n" .. vim.inspect({ old = old, new = new }))
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
---@diagnostic disable-next-line: no-unknown
|
---@diagnostic disable-next-line: no-unknown
|
||||||
|
|
Loading…
Reference in New Issue