From 97fa750d596c1287e7c637c90cb2115b4df8c01e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Tue, 6 May 2025 23:14:41 +0200 Subject: [PATCH] feat(nvim): add hunk.nvim plugin This should be a better diff editor for `jj` --- modules/nixvim/dev-plugins.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/nixvim/dev-plugins.nix b/modules/nixvim/dev-plugins.nix index eb47a0e..2f08449 100644 --- a/modules/nixvim/dev-plugins.nix +++ b/modules/nixvim/dev-plugins.nix @@ -2,10 +2,11 @@ lib, pkgs, config, - helpers, ... }: let + helpers = if lib.hasAttrByPath [ "lib" "nixvim" ] config then config.lib.nixvim else lib.nixvim; + inherit (helpers) enableExceptInTests; inherit (lib.trivial) const; cfg = config.jhome.nvim; @@ -174,6 +175,7 @@ in mode = "virtualtext"; }; }; + hunk.enable = true; otter.enable = true; }; }