From 817213dd8e3405c17434d7dd9d18fb275fdc60db Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Sun, 12 Jan 2025 14:22:37 -0600 Subject: [PATCH] vimPlugins.sg-nvim: remove explicit nvimRequireCheck --- .../vim/plugins/non-generated/sg-nvim/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/editors/vim/plugins/non-generated/sg-nvim/default.nix b/pkgs/applications/editors/vim/plugins/non-generated/sg-nvim/default.nix index 3ebc0f3c0204..05922d1adaad 100644 --- a/pkgs/applications/editors/vim/plugins/non-generated/sg-nvim/default.nix +++ b/pkgs/applications/editors/vim/plugins/non-generated/sg-nvim/default.nix @@ -43,6 +43,11 @@ vimUtils.buildVimPlugin { pname = "sg.nvim"; inherit version src; + checkInputs = with vimPlugins; [ + telescope-nvim + nvim-cmp + ]; + dependencies = [ vimPlugins.plenary-nvim ]; postInstall = '' @@ -50,6 +55,11 @@ vimUtils.buildVimPlugin { ln -s ${sg-nvim-rust}/{bin,lib}/* $out/target/debug ''; + nvimSkipModule = [ + # Dependent on active fuzzy search state + "sg.cody.fuzzy" + ]; + passthru = { updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; @@ -59,7 +69,6 @@ vimUtils.buildVimPlugin { # needed for the update script inherit sg-nvim-rust; }; - nvimRequireCheck = "sg"; meta = { description = "Neovim plugin designed to emulate the behaviour of the Cursor AI IDE";