feat(plugin): treat url changes as warnings. They will only be shown with checkhealth

This commit is contained in:
Folke Lemaitre 2023-10-14 23:07:01 +02:00
parent 1c16e4236f
commit 0c53d4673f
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 1 additions and 1 deletions

View File

@ -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