diff --git a/flake.lock b/flake.lock index 6d6de0b..3e01bd2 100644 --- a/flake.lock +++ b/flake.lock @@ -339,14 +339,17 @@ "flake-parts" ], "nixpkgs": "nixpkgs_2", - "nuschtosSearch": [] + "nuschtosSearch": [], + "systems": [ + "systems" + ] }, "locked": { - "lastModified": 1746965641, - "narHash": "sha256-6+Cn5aMDSWvsk4nOXmea3whAI4v+PjYaEpcDkTEAlXc=", + "lastModified": 1747083534, + "narHash": "sha256-r88FEbKX1HLTovPFt1QHxzZDV7D4TGHhYlJcHmK7hYk=", "owner": "nix-community", "repo": "nixvim", - "rev": "02a85bd29333ce9fbde0d2c57a2378f47205bb21", + "rev": "ff0ccdf572ad6700a2a29a82cc5d17db29708988", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 04aaea2..77b627b 100644 --- a/flake.nix +++ b/flake.nix @@ -39,6 +39,7 @@ url = "github:nix-community/nixvim"; inputs = { flake-parts.follows = "flake-parts"; + systems.follows = "systems"; # disable optional inputs nuschtosSearch.follows = ""; }; 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; }; }