vimPlugins: remove explicit nvimRequireCheck pt2 (#373283)

This commit is contained in:
Gaétan Lepage
2025-01-12 23:30:36 +01:00
committed by GitHub
7 changed files with 20 additions and 15 deletions
@@ -72,8 +72,11 @@ vimUtils.buildVimPlugin {
inherit avante-nvim-lib;
};
doInstallCheck = true;
nvimRequireCheck = "avante";
nvimSkipModule = [
# Requires setup with corresponding provider
"avante.providers.azure"
"avante.providers.copilot"
];
meta = {
description = "Neovim plugin designed to emulate the behaviour of the Cursor AI IDE";
@@ -61,6 +61,9 @@ vimUtils.buildVimPlugin {
redxtech
];
};
doInstallCheck = true;
nvimRequireCheck = "blink-cmp";
nvimSkipModule = [
# Module for reproducing issues
"repro"
];
}
@@ -51,9 +51,6 @@ vimUtils.buildVimPlugin {
cp ${codesnap-lib}/lib/libgenerator.${extension} $out/lua/generator.so
'';
doInstallCheck = true;
nvimRequireCheck = "codesnap";
passthru = {
updateScript = nix-update-script {
attrPath = "vimPlugins.codesnap-nvim.codesnap-lib";
@@ -54,9 +54,6 @@ vimUtils.buildVimPlugin {
runHook postInstall
'';
doInstallCheck = true;
nvimRequireCheck = "cord";
passthru = {
updateScript = nix-update-script {
extraArgs = [ "--version=branch" ];
@@ -42,8 +42,6 @@ vimUtils.buildVimPlugin {
ln -s ${spectre_oxi}/lib/libspectre_oxi.* $out/lua/spectre_oxi.so
'';
nvimRequireCheck = "spectre";
passthru = {
updateScript = nix-update-script {
extraArgs = [ "--version=branch" ];
@@ -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";
@@ -57,8 +57,6 @@ vimUtils.buildVimPlugin {
propagatedBuildInputs = [ sniprun-bin ];
nvimRequireCheck = "sniprun";
passthru = {
updateScript = nix-update-script {
attrPath = "vimPlugins.sniprun.sniprun-bin";