Fix nvim config
This commit is contained in:
parent
3c3d493a0f
commit
339e8e0b68
1 changed files with 1 additions and 3 deletions
|
|
@ -3,9 +3,6 @@ return {
|
||||||
"folke/snacks.nvim",
|
"folke/snacks.nvim",
|
||||||
opts = {
|
opts = {
|
||||||
gitbrowse = {
|
gitbrowse = {
|
||||||
opts = {
|
|
||||||
what = "permalink",
|
|
||||||
},
|
|
||||||
config = function(opts, defaults)
|
config = function(opts, defaults)
|
||||||
opts.url_patterns["bitbucket%.org"] = {
|
opts.url_patterns["bitbucket%.org"] = {
|
||||||
branch = "/src/{branch}",
|
branch = "/src/{branch}",
|
||||||
|
|
@ -13,6 +10,7 @@ return {
|
||||||
permalink = "/src/{commit}/{file}#lines-{line_start}:{line_end}",
|
permalink = "/src/{commit}/{file}#lines-{line_start}:{line_end}",
|
||||||
commit = "/commits/{commit}",
|
commit = "/commits/{commit}",
|
||||||
}
|
}
|
||||||
|
opts.what = "permalink"
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue