nvim: lua: modules: gitsigns: Add preview hunk feature now available upstream
This commit is contained in:
parent
603aa8bc56
commit
7bb5343314
1 changed files with 2 additions and 0 deletions
|
@ -16,9 +16,11 @@ require('gitsigns').setup {
|
||||||
['n ghs'] = '<cmd>lua require"gitsigns".stage_hunk()<CR>',
|
['n ghs'] = '<cmd>lua require"gitsigns".stage_hunk()<CR>',
|
||||||
['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>',
|
||||||
},
|
},
|
||||||
watch_index = {
|
watch_index = {
|
||||||
interval = 1000
|
interval = 1000
|
||||||
},
|
},
|
||||||
sign_priority = 6,
|
sign_priority = 6,
|
||||||
|
status_formatter = nil,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue