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";