gitsigns: toggle preview after moving to next hunk
This commit is contained in:
parent
03c3e0afe0
commit
33cdace807
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
||||||
vim.cmd.normal({']c', bang = true})
|
vim.cmd.normal({']c', bang = true})
|
||||||
else
|
else
|
||||||
require("gitsigns").nav_hunk('next')
|
require("gitsigns").nav_hunk('next')
|
||||||
|
require("gitsigns").preview_hunk
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue