nvim: modules: gitsigns: Sync settings with upstream

This commit is contained in:
Sanchayan Maity 2020-12-16 11:26:23 +05:30
parent 692bd9a534
commit 97d10b6a1b

View file

@ -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'] = '<cmd>lua require"gitsigns".undo_stage_hunk()<CR>',
['n ghr'] = '<cmd>lua require"gitsigns".reset_hunk()<CR>',
['n ghp'] = '<cmd>lua require"gitsigns".preview_hunk()<CR>',
['n ghb'] = '<cmd>lua require"gitsigns".blame_line()<CR>',
},
watch_index = {
interval = 1000