Skip to content

Commit 0c53d46

Browse files
committed
feat(plugin): treat url changes as warnings. They will only be shown with checkhealth
1 parent 1c16e42 commit 0c53d46

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
@@ -441,7 +441,7 @@ function Spec:merge(old, new)
441441
new._.dep = old._.dep and new._.dep
442442

443443
if new.url and old.url and new.url ~= old.url then
444-
self:error("Two plugins with the same name and different url:\n" .. vim.inspect({ old = old, new = new }))
444+
self:warn("Two plugins with the same name and different url:\n" .. vim.inspect({ old = old, new = new }))
445445
end
446446

447447
if new.dependencies and old.dependencies then

0 commit comments

Comments
 (0)