Skip to content

Commit

Permalink
vimPlugins: remove explicit nvimRequireCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Jan 10, 2025
1 parent c5ba82c commit abceede
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions pkgs/applications/editors/vim/plugins/overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -131,17 +131,14 @@ in
];
};

alpha-nvim = super.alpha-nvim.overrideAttrs {
nvimRequireCheck = "alpha";
};

advanced-git-search-nvim = super.advanced-git-search-nvim.overrideAttrs {
dependencies = with super; [
dependencies = with self; [
telescope-nvim
vim-fugitive
vim-rhubarb
fzf-lua
plenary-nvim
];
nvimRequireCheck = "advanced_git_search.utils";
};

astrocore = super.astrocore.overrideAttrs {
Expand All @@ -163,12 +160,10 @@ in

animation-nvim = super.animation-nvim.overrideAttrs {
dependencies = [ self.middleclass ];
nvimRequireCheck = "animation";
};

autosave-nvim = super.autosave-nvim.overrideAttrs {
dependencies = [ self.plenary-nvim ];
nvimRequireCheck = "autosave";
};

auto-session = super.auto-session.overrideAttrs {
Expand Down Expand Up @@ -222,7 +217,6 @@ in
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ lightquantum ];
};
nvimRequireCheck = "barbecue";
};

base46 = super.base46.overrideAttrs {
Expand Down Expand Up @@ -277,7 +271,7 @@ in
ccc-nvim = super.ccc-nvim.overrideAttrs {
# ccc auto-discover requires all pass
# but there's a bootstrap module that hangs forever if we dont stop on first success
nvimRequireCheck = "ccc";
nvimSkipModule = "ccc.kit.Thread.Server._bootstrap";
};

chadtree = super.chadtree.overrideAttrs {
Expand All @@ -290,10 +284,8 @@ in
pyyaml
std2
];

# We need some patches so it stops complaining about not being in a venv
patches = [ ./patches/chadtree/emulate-venv.patch ];
nvimRequireCheck = "chadtree";
};

ChatGPT-nvim = super.ChatGPT-nvim.overrideAttrs {
Expand All @@ -302,7 +294,6 @@ in
plenary-nvim
telescope-nvim
];
nvimRequireCheck = "chatgpt";
};

cheatsheet-nvim = super.cheatsheet-nvim.overrideAttrs {
Expand Down Expand Up @@ -342,15 +333,15 @@ in
postPatch = ''
sed -i -e 's/require "health"/vim.health/' lua/clipboard-image/health.lua
'';
nvimRequireCheck = "clipboard-image";
};

cmake-tools-nvim = super.cmake-tools-nvim.overrideAttrs {
dependencies = [ self.plenary-nvim ];
nvimRequireCheck = "cmake-tools";
};

cmd-parser-nvim = super.cmd-parser-nvim.overrideAttrs {
# Has cmd-parser.init.test matched from lua/cmd-parser/init.test.lua
# Can't be required and is only other module
nvimRequireCheck = "cmd-parser";
};

Expand Down Expand Up @@ -591,7 +582,17 @@ in

codecompanion-nvim = super.codecompanion-nvim.overrideAttrs {
dependencies = [ self.plenary-nvim ];
nvimRequireCheck = "codecompanion";
nvimSkipModule = [
# Optional provider dependencies
"codecompanion.providers.diff.mini_diff"
"codecompanion.providers.actions.telescope"
"codecompanion.providers.actions.mini_pick"
# Requires setup call
"codecompanion.actions.static"
"codecompanion.actions.init"
# Test
"minimal"
];
};

codeium-nvim =
Expand Down Expand Up @@ -696,7 +697,6 @@ in
make build
rm ruby/command-t/ext/command-t/*.o
'';
nvimRequireCheck = "wincent.commandt";
};

competitest-nvim = super.competitest-nvim.overrideAttrs {
Expand Down

0 comments on commit abceede

Please sign in to comment.