]> Git — Sourcephile - julm/julm-nix.git/blob - home-manager/profiles/nvim/lua/plugins/hunk.lua
neovim: configure, using ghostty and tmux
[julm/julm-nix.git] / home-manager / profiles / nvim / lua / plugins / hunk.lua
1 -- A tool for splitting diffs in Neovim
2 -- A lot of commands in jujutsu allow you to select parts of a diff.
3 -- The tool used to select the diff can be configured via their ui.diff-editor config option.
4 -- To use hunk.nvim add the following to your jujutsu config.toml:
5 --
6 -- [ui]
7 -- diff-editor = ["nvim", "-c", "DiffEditor $left $right $output"]
8 --
9 -- https://github.com/julienvincent/hunk.nvim
10 return {
11 "hunk.nvim",
12 lazy = false,
13 after = function()
14 require("hunk").setup({})
15 end,
16 }