Skip to content

Commit

Permalink
vimPlugins: add missing dependencies
Browse files Browse the repository at this point in the history
Discovered during fixing neovimRequireCheckHook ignores.
  • Loading branch information
khaneliman committed Jan 10, 2025
1 parent abceede commit 86941ae
Showing 1 changed file with 60 additions and 2 deletions.
62 changes: 60 additions & 2 deletions pkgs/applications/editors/vim/plugins/overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,14 @@ in
];
};

conjure = super.conjure.overrideAttrs {
dependencies = [ self.plenary-nvim ];
nvimSkipModule = [
# Test mismatch of directory because of nix generated path
"conjure-spec.client.fennel.nfnl_spec"
];
};

context-vim = super.context-vim.overrideAttrs {
# Vim plugin with optional lua highlight module
nvimSkipModule = "context.highlight";
Expand Down Expand Up @@ -1824,9 +1832,20 @@ in
neotest
nvim-nio
plenary-nvim
nvim-treesitter-parsers.cpp
];
nvimSkipModule = [
# lua/plenary/path.lua:511: FileNotFoundError from mkdir because of stdpath parent path missing
"neotest-gtest.executables.global_registry"
"neotest-gtest.executables.init"
"neotest-gtest.executables.registry"
"neotest-gtest.executables.ui"
"neotest-gtest"
"neotest-gtest.neotest_adapter"
"neotest-gtest.report"
"neotest-gtest.storage"
"neotest-gtest.utils"
];
# broken
# nvimRequireCheck = "neotest-gtest";
};

neotest-haskell = super.neotest-haskell.overrideAttrs {
Expand Down Expand Up @@ -1857,6 +1876,7 @@ in
neotest-minitest = super.neotest-minitest.overrideAttrs {
dependencies = with self; [
neotest
nvim-nio
plenary-nvim
];
};
Expand Down Expand Up @@ -1910,6 +1930,7 @@ in
neotest-rspec = super.neotest-rspec.overrideAttrs {
dependencies = with self; [
neotest
nvim-nio
plenary-nvim
];
};
Expand Down Expand Up @@ -2163,6 +2184,10 @@ in
];
};

nvim-java-test = super.nvim-java-test.overrideAttrs {
dependencies = [ self.nvim-java-core ];
};

nvim-lsp-file-operations = super.nvim-lsp-file-operations.overrideAttrs {
dependencies = [ self.plenary-nvim ];
nvimRequireCheck = "lsp-file-operations";
Expand Down Expand Up @@ -2347,6 +2372,29 @@ in
nvimRequireCheck = "trevj";
};

nvim-test = super.nvim-test.overrideAttrs {
dependencies = with self; [
nvim-treesitter
nvim-treesitter-parsers.c_sharp
nvim-treesitter-parsers.go
nvim-treesitter-parsers.haskell
nvim-treesitter-parsers.javascript
nvim-treesitter-parsers.python
nvim-treesitter-parsers.ruby
nvim-treesitter-parsers.rust
nvim-treesitter-parsers.typescript
nvim-treesitter-parsers.zig
];
nvimSkipModule = [
# Optional toggleterm integration
"nvim-test.terms.toggleterm"
# Broken runners
"nvim-test.runners.zig"
"nvim-test.runners.hspec"
"nvim-test.runners.stack"
];
};

nvim-ufo = super.nvim-ufo.overrideAttrs {
dependencies = [ self.promise-async ];
nvimRequireCheck = "ufo";
Expand Down Expand Up @@ -2567,6 +2615,8 @@ in
nvimSkipModule = [
# rainbow-delimiters.types.lua
"rainbow-delimiters.types"
# Test that requires an unpackaged dependency
"rainbow-delimiters._test.highlight"
];
};

Expand Down Expand Up @@ -3144,6 +3194,14 @@ in
meta.maintainers = with lib.maintainers; [ enderger ];
};

typescript-nvim = super.typescript-nvim.overrideAttrs {
dependencies = with self; [
nvim-lspconfig
];
# Optional null-ls integration
nvimSkipModule = [ "typescript.extensions.null-ls.code-actions.init" ];
};

typescript-tools-nvim = super.typescript-tools-nvim.overrideAttrs {
dependencies = with self; [
nvim-lspconfig
Expand Down

0 comments on commit 86941ae

Please sign in to comment.