neogit: initial setup
This commit is contained in:
parent
e8f0ec4be9
commit
416314510d
1 changed files with 16 additions and 0 deletions
16
init.lua
16
init.lua
|
|
@ -532,6 +532,22 @@ require("gitsigns").setup({
|
|||
end, { expr = true })
|
||||
end,
|
||||
})
|
||||
---- neogit ----
|
||||
local neogit = require('neogit')
|
||||
neogit.setup({
|
||||
git_services = {
|
||||
["azure.com"] =
|
||||
"https://dev.azure.com/${owner}/_git/${repository}/pullrequestcreate?sourceRef=${branch_name}&targetRef=${target}",
|
||||
["bitbucket.org"] = "https://bitbucket.org/${owner}/${repository}/pull-requests/new?source=${branch_name}&t=1",
|
||||
["github.com"] = "https://github.com/${owner}/${repository}/compare/${branch_name}?expand=1",
|
||||
["gitlab.com"] =
|
||||
"https://gitlab.com/${owner}/${repository}/merge_requests/new?merge_request[source_branch]=${branch_name}",
|
||||
-- TODO:
|
||||
-- ["codeberg.org"] = "https://codeberg.org/${owner}/${repository}/pull-requests/new?source=${branch_name}&t=1",
|
||||
-- ["oolong.ludwig.dog"] =
|
||||
-- "https://oolong.ludwig.dog/${owner}/${repository}/pull-requests/new?source=${branch_name}&t=1",
|
||||
},
|
||||
})
|
||||
---- Comment.nvim
|
||||
require("Comment").setup()
|
||||
---- Telescope
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue