nvim: modules: gitsigns: Sync settings with upstream
This commit is contained in:
parent
692bd9a534
commit
97d10b6a1b
1 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,7 @@ require('gitsigns').setup {
|
||||||
topdelete = {hl = 'DiffDelete', text = '-'},
|
topdelete = {hl = 'DiffDelete', text = '-'},
|
||||||
changedelete = {hl = 'DiffChange', text = '~'},
|
changedelete = {hl = 'DiffChange', text = '~'},
|
||||||
},
|
},
|
||||||
|
numhl = false,
|
||||||
keymaps = {
|
keymaps = {
|
||||||
noremap = true,
|
noremap = true,
|
||||||
buffer = true,
|
buffer = true,
|
||||||
|
@ -17,6 +18,7 @@ require('gitsigns').setup {
|
||||||
['n ghu'] = '<cmd>lua require"gitsigns".undo_stage_hunk()<CR>',
|
['n ghu'] = '<cmd>lua require"gitsigns".undo_stage_hunk()<CR>',
|
||||||
['n ghr'] = '<cmd>lua require"gitsigns".reset_hunk()<CR>',
|
['n ghr'] = '<cmd>lua require"gitsigns".reset_hunk()<CR>',
|
||||||
['n ghp'] = '<cmd>lua require"gitsigns".preview_hunk()<CR>',
|
['n ghp'] = '<cmd>lua require"gitsigns".preview_hunk()<CR>',
|
||||||
|
['n ghb'] = '<cmd>lua require"gitsigns".blame_line()<CR>',
|
||||||
},
|
},
|
||||||
watch_index = {
|
watch_index = {
|
||||||
interval = 1000
|
interval = 1000
|
||||||
|
|
Loading…
Reference in a new issue