---@type LazySpec return { { "folke/snacks.nvim", optional = true, --@type snacks.Config opts = { gitbrowse = { remote_patterns = { { "^gitea@(.+):(.+)$", "https://%1/%2" }, }, url_patterns = { ["git.niverton.ovh"] = { branch = "/src/branch/{branch}", file = "/src/branch/{branch}/{file}#L{line_start}-L{line_end}", permalink = "/src/commit/{commit}/{file}#L{line_start}-L{line_end}", commit = "/commit/{commit}", }, }, }, }, }, }