feat(nvim): add hunk.nvim plugin
This should be a better diff editor for `jj`
This commit is contained in:
parent
4aeac7e7d1
commit
97fa750d59
1 changed files with 3 additions and 1 deletions
|
@ -2,10 +2,11 @@
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
config,
|
config,
|
||||||
helpers,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
helpers = if lib.hasAttrByPath [ "lib" "nixvim" ] config then config.lib.nixvim else lib.nixvim;
|
||||||
|
|
||||||
inherit (helpers) enableExceptInTests;
|
inherit (helpers) enableExceptInTests;
|
||||||
inherit (lib.trivial) const;
|
inherit (lib.trivial) const;
|
||||||
cfg = config.jhome.nvim;
|
cfg = config.jhome.nvim;
|
||||||
|
@ -174,6 +175,7 @@ in
|
||||||
mode = "virtualtext";
|
mode = "virtualtext";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
hunk.enable = true;
|
||||||
otter.enable = true;
|
otter.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue