mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
style: format
This commit is contained in:
parent
6ba1ae87e4
commit
702997084a
1 changed files with 10 additions and 9 deletions
|
|
@ -159,17 +159,18 @@ function M.blame_line(opts)
|
||||||
return require("lazy.util").float_cmd(cmd, opts)
|
return require("lazy.util").float_cmd(cmd, opts)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- stylua: ignore
|
||||||
M.remote_patterns = {
|
M.remote_patterns = {
|
||||||
{ "^(https?://.*)%.git$", "%1" },
|
{ "^(https?://.*)%.git$" , "%1" },
|
||||||
{ "^git@(.+):(.+)%.git$", "https://%1/%2" },
|
{ "^git@(.+):(.+)%.git$" , "https://%1/%2" },
|
||||||
{ "^git@(.+):(.+)$", "https://%1/%2" },
|
{ "^git@(.+):(.+)$" , "https://%1/%2" },
|
||||||
{ "^git@(.+)/(.+)$", "https://%1/%2" },
|
{ "^git@(.+)/(.+)$" , "https://%1/%2" },
|
||||||
{ "^ssh://git@(.*)$", "https://%1" },
|
{ "^ssh://git@(.*)$" , "https://%1" },
|
||||||
{ "ssh%.dev%.azure%.com/v3/(.*)/(.*)$", "dev.azure.com/%1/_git/%2" },
|
{ "ssh%.dev%.azure%.com/v3/(.*)/(.*)$", "dev.azure.com/%1/_git/%2" },
|
||||||
{ "^https://%w*@(.*)", "https://%1" },
|
{ "^https://%w*@(.*)" , "https://%1" },
|
||||||
{ "^git@(.*)", "https://%1" },
|
{ "^git@(.*)" , "https://%1" },
|
||||||
{ ":%d+", "" },
|
{ ":%d+" , "" },
|
||||||
{ "%.git$", "" },
|
{ "%.git$" , "" },
|
||||||
}
|
}
|
||||||
|
|
||||||
---@param remote string
|
---@param remote string
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue