From 3fce314c348042d935c32f42ac5ee6f038eb37df Mon Sep 17 00:00:00 2001 From: Leonhard Kost Date: Fri, 13 Nov 2026 18:28:15 +0100 Subject: [PATCH] fix(neovim): install sleuth with nixvim option instead of vimPlugins + remove which-key oneliner file --- pkgs/nixvim/plugins/default.nix | 9 ++++----- pkgs/nixvim/plugins/which-key.nix | 3 --- 2 files changed, 4 insertions(+), 8 deletions(-) delete mode 100644 pkgs/nixvim/plugins/which-key.nix diff --git a/pkgs/nixvim/plugins/default.nix b/pkgs/nixvim/plugins/default.nix index 6cc50e6..5814f36 100644 --- a/pkgs/nixvim/plugins/default.nix +++ b/pkgs/nixvim/plugins/default.nix @@ -1,4 +1,3 @@ -{ pkgs, ... }: { imports = [ ./blink.nix @@ -8,10 +7,10 @@ ./treesitter.nix ./telescope.nix ./lualine.nix - ./which-key.nix ]; - extraPlugins = with pkgs.vimPlugins; [ - vim-sleuth - ]; + plugins = { + sleuth.enable = true; + which-key.enable = true; + }; } diff --git a/pkgs/nixvim/plugins/which-key.nix b/pkgs/nixvim/plugins/which-key.nix deleted file mode 100644 index 6d02309..0000000 --- a/pkgs/nixvim/plugins/which-key.nix +++ /dev/null @@ -1,3 +0,0 @@ -{ - plugins.which-key.enable = true; -}