From f78d8bf376a86349de99696c4004c36b97e859e4 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Tue, 20 Dec 2022 13:36:18 +0100 Subject: [PATCH] fix: show error when merging, but continue --- lua/lazy/core/plugin.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lazy/core/plugin.lua b/lua/lazy/core/plugin.lua index eda70ee..e53d3ee 100644 --- a/lua/lazy/core/plugin.lua +++ b/lua/lazy/core/plugin.lua @@ -153,7 +153,7 @@ function Spec:merge(old, new) ---@diagnostic disable-next-line: no-unknown old[k] = values 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 else ---@diagnostic disable-next-line: no-unknown