You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
369 B
Lua
16 lines
369 B
Lua
-- Git status in signcolumn
|
|
return {
|
|
"lewis6991/gitsigns.nvim",
|
|
config = function()
|
|
local gitsigns = require("gitsigns")
|
|
gitsigns.setup()
|
|
|
|
local wk = require("which-key")
|
|
wk.register({
|
|
["["] = { h = { gitsigns.prev_hunk, "Previous hunk" } },
|
|
["]"] = { h = { gitsigns.next_hunk, "Next hunk" } },
|
|
}, { prefix = "<leader>" })
|
|
|
|
end,
|
|
}
|