From 97d10b6a1b0ecc3db6b1b959875b658fc2296f3e Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Wed, 16 Dec 2020 11:26:23 +0530 Subject: [PATCH] nvim: modules: gitsigns: Sync settings with upstream --- nvim/.config/nvim/lua/modules/gitsigns.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nvim/.config/nvim/lua/modules/gitsigns.lua b/nvim/.config/nvim/lua/modules/gitsigns.lua index 1785eb8..7415718 100644 --- a/nvim/.config/nvim/lua/modules/gitsigns.lua +++ b/nvim/.config/nvim/lua/modules/gitsigns.lua @@ -6,6 +6,7 @@ require('gitsigns').setup { topdelete = {hl = 'DiffDelete', text = '-'}, changedelete = {hl = 'DiffChange', text = '~'}, }, + numhl = false, keymaps = { noremap = true, buffer = true, @@ -17,6 +18,7 @@ require('gitsigns').setup { ['n ghu'] = 'lua require"gitsigns".undo_stage_hunk()', ['n ghr'] = 'lua require"gitsigns".reset_hunk()', ['n ghp'] = 'lua require"gitsigns".preview_hunk()', + ['n ghb'] = 'lua require"gitsigns".blame_line()', }, watch_index = { interval = 1000