From 86941aef9786969d92be2effeb19f29904b9e1c7 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Thu, 9 Jan 2025 21:28:39 -0600 Subject: [PATCH] vimPlugins: add missing dependencies Discovered during fixing neovimRequireCheckHook ignores. --- .../editors/vim/plugins/overrides.nix | 62 ++++++++++++++++++- 1 file changed, 60 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index bb464d4d7ce4b..7774cba7e7b18 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -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"; @@ -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 { @@ -1857,6 +1876,7 @@ in neotest-minitest = super.neotest-minitest.overrideAttrs { dependencies = with self; [ neotest + nvim-nio plenary-nvim ]; }; @@ -1910,6 +1930,7 @@ in neotest-rspec = super.neotest-rspec.overrideAttrs { dependencies = with self; [ neotest + nvim-nio plenary-nvim ]; }; @@ -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"; @@ -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"; @@ -2567,6 +2615,8 @@ in nvimSkipModule = [ # rainbow-delimiters.types.lua "rainbow-delimiters.types" + # Test that requires an unpackaged dependency + "rainbow-delimiters._test.highlight" ]; }; @@ -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