Neovim: update which-key configuration to v3

This commit is contained in:
Marko Korhonen 2024-07-13 15:49:55 +03:00
parent 6fadc26aee
commit 661f71d1a8
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
12 changed files with 95 additions and 87 deletions

View file

@ -0,0 +1,22 @@
--- @type LazyPluginSpec
return {
"lewis6991/gitsigns.nvim",
config = true,
lazy = false,
keys = {
{
"[h",
function()
require("gitsigns").prev_hunk()
end,
desc = "Previous hunk",
},
{
"]h",
function()
require("gitsigns").next_hunk()
end,
desc = "Next hunk",
},
},
}