feat(diff): install hunk.nvim, a three-way diff editor
This commit is contained in:
parent
f4ea68f9fa
commit
394352bbb8
2 changed files with 19 additions and 0 deletions
|
|
@ -25,5 +25,8 @@
|
||||||
|
|
||||||
# autocompletion
|
# autocompletion
|
||||||
./cmp.nix
|
./cmp.nix
|
||||||
|
|
||||||
|
# git/jujutsu tools
|
||||||
|
./hunk.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
16
config/hunk.nix
Normal file
16
config/hunk.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
extraPlugins = [
|
||||||
|
(pkgs.vimUtils.buildVimPlugin {
|
||||||
|
name = "hunk";
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "julienvincent";
|
||||||
|
repo = "hunk.nvim";
|
||||||
|
rev = "v1.4.0";
|
||||||
|
hash = "sha256-iC8VfUwUto0g2l1H0Gbdq5ioXvAEMlIicpda0GXi+lk=";
|
||||||
|
};
|
||||||
|
})
|
||||||
|
# dependency of hunk.nvim
|
||||||
|
pkgs.vimPlugins.nui-nvim
|
||||||
|
];
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue