Skip to content

Commit f78d8bf

Browse files
committed
fix: show error when merging, but continue
1 parent b8a0055 commit f78d8bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/lazy/core/plugin.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ function Spec:merge(old, new)
153153
---@diagnostic disable-next-line: no-unknown
154154
old[k] = values
155155
else
156-
error("Merging plugins is not supported for key `" .. k .. "`")
156+
Util.error("Merging plugins is not supported for key `" .. k .. "`\n" .. vim.inspect({ old = old, new = new }))
157157
end
158158
else
159159
---@diagnostic disable-next-line: no-unknown

0 commit comments

Comments
 (0)