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

@ -363,7 +363,7 @@ end
function M:details(plugin)
---@type string[][]
local props = {}
table.insert(props, { "uri", (plugin.uri:gsub("%.git$", "")), "@text.reference" })
table.insert(props, { "url", (plugin.url:gsub("%.git$", "")), "@text.reference" })
local git = Git.info(plugin.dir, true)
if git then
git.branch = git.branch or Git.get_branch(plugin)