gitsigns: toggle preview after moving to next hunk

This commit is contained in:
xinyangli 2024-08-20 20:42:19 +08:00
parent 03c3e0afe0
commit 33cdace807
Signed by: xin
SSH key fingerprint: SHA256:qZ/tzd8lYRtUFSrfBDBMcUqV4GHKxqeqRA3huItgvbk

View file

@ -16,6 +16,7 @@
vim.cmd.normal({']c', bang = true})
else
require("gitsigns").nav_hunk('next')
require("gitsigns").preview_hunk
end
end
'';