refactor: Plugin.uri => Plugin.url

This commit is contained in:
Folke Lemaitre 2022-12-06 11:12:54 +01:00
parent 43b303bd8f
commit 4cfe0b5315
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
8 changed files with 27 additions and 27 deletions

View file

@ -62,7 +62,7 @@ function M.install(opts)
"plugin.build",
},
plugins = function(plugin)
return plugin.uri and not plugin._.installed
return plugin.url and not plugin._.installed
end,
}, opts)
end
@ -81,7 +81,7 @@ function M.update(opts)
{ "git.log", updated = true },
},
plugins = function(plugin)
return plugin.uri and plugin._.installed
return plugin.url and plugin._.installed
end,
}, opts):wait(function()
require("lazy.manage.lock").update()
@ -98,7 +98,7 @@ function M.check(opts)
{ "git.log", check = true },
},
plugins = function(plugin)
return plugin.uri and plugin._.installed
return plugin.url and plugin._.installed
end,
}, opts)
end
@ -108,7 +108,7 @@ function M.log(opts)
return M.run({
pipeline = { "git.log" },
plugins = function(plugin)
return plugin.uri and plugin._.installed
return plugin.url and plugin._.installed
end,
}, opts)
end