12.nixvim/tests/test-sources/modules
Austin Horstman cbd8536a05
Some checks failed
Publish every Git push to main to FlakeHub / flakehub-publish (push) Has been cancelled
Publish every git push to Flakestry / publish-flake (push) Has been cancelled
Documentation / Version info (push) Has been cancelled
Documentation / Build (push) Has been cancelled
Documentation / Combine builds (push) Has been cancelled
Documentation / Deploy (push) Has been cancelled
modules/output: restore plugin lua dependencies
With the newer nixpkgs Neovim wrapper, plugin Lua dependencies are surfaced through neovimUtils.makeVimPackageInfo as vimPackageInfo.luaDependencies. Nixvim was still only feeding explicit extraLuaPackages into its wrapper Lua environment, so plugin-provided Lua modules stopped reaching the runtime search path after the flake.lock bump.

That showed up as real runtime failures: Telescope could not load plenary.strings and Neorg could not load lua-utils, even though explicit extraLuaPackages still worked.

Fix that by computing vimPackageInfo from config.build.plugins and appending vimPackageInfo.luaDependencies to the wrapper's extraLuaPackages. That keeps Nixvim aligned with the nixpkgs/Home Manager dependency resolution path instead of maintaining a separate recursive Lua dependency collector.

Add focused regression coverage for the two reported plugin cases:
- telescope -> plenary.strings
- neorg -> lua-utils
2026-03-29 16:40:02 +00:00
..
performance tests/fetch-tests: only apply required args 2025-11-24 11:09:51 +00:00
autocmd.nix treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
clipboard.nix tests/fetch-tests: only apply required args 2025-11-24 11:09:51 +00:00
commands.nix modules/commands: allow commands to be raw lua 2024-05-21 14:27:49 +02:00
dependencies.nix modules/dependencies: add packageFallback option 2026-02-09 09:53:43 +00:00
diagnostics.nix modules/diagnostic: rename diagnostic.config -> diagnostic.settings 2025-04-30 18:31:17 +01:00
editorconfig.nix editorconfig: Migrate to builtin plugin (#335) 2023-04-15 15:21:25 +02:00
extra-files.nix modules/extraFiles: refactor to use symlinks and support directories 2025-12-10 17:30:14 +00:00
files.nix modules/files: fix creating configs of vim type 2024-07-19 14:45:34 +03:00
filetypes.nix tests: remove special treatment of module 2024-08-20 01:07:21 +01:00
highlight.nix tests: fix occurences of deprecated "options" option 2024-03-30 14:21:21 +01:00
keymaps.nix tests/fetch-tests: only apply required args 2025-11-24 11:09:51 +00:00
lsp.nix tests/modules/lsp: fix package-fallback assertion logic 2026-01-15 14:06:49 +00:00
lua-loader.nix modules/lua-loader: use new 0.11 API for enabling/disabling 2025-04-01 16:03:03 +02:00
options.nix tests: fix occurences of deprecated "options" option 2024-03-30 14:21:21 +01:00
output.nix treewide: remove internal use of helpers module arg 2025-11-19 15:22:27 +00:00
version.nix modules/version: init with nixpkgsReleaseCheck 2025-12-03 09:24:36 +00:00
wrapper-dependencies.nix modules/output: restore plugin lua dependencies 2026-03-29 16:40:02 +00:00