From 0c53d4673ff02c57a192558325b394cfd9adde0f Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Sat, 14 Oct 2023 23:07:01 +0200 Subject: [PATCH] feat(plugin): treat url changes as warnings. They will only be shown with checkhealth --- 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 3e5743a..dbfcb46 100644 --- a/lua/lazy/core/plugin.lua +++ b/lua/lazy/core/plugin.lua @@ -441,7 +441,7 @@ function Spec:merge(old, new) new._.dep = old._.dep and new._.dep if new.url and old.url and new.url ~= old.url then - self:error("Two plugins with the same name and different url:\n" .. vim.inspect({ old = old, new = new })) + self:warn("Two plugins with the same name and different url:\n" .. vim.inspect({ old = old, new = new })) end if new.dependencies and old.dependencies then