ci: add neovim and busted to CI shell

Problem: the CI flake shell lacked `neovim`, so `vimdoc-language-server`
could not resolve builtin Neovim help tags like `|:checkhealth|`.
Also missing `busted`/`nlua` lua packages.

Solution: add `pkgs.neovim` to the `ci` shell and `busted`/`nlua` via
`luajit.withPackages` to both shells, matching the pattern used in
canola.nvim. Revert the vimdoc workaround from the previous commit.
This commit is contained in:
Barrett Ruth 2026-03-28 18:40:16 -04:00
parent d6a4766aac
commit 09463c08b7
No known key found for this signature in database
GPG key ID: A6C96C9349D2FC81
2 changed files with 8 additions and 9 deletions

View file

@ -20,7 +20,7 @@ Requirements: ~
- vim-fugitive (optional, for split review) - vim-fugitive (optional, for split review)
- diffs.nvim (optional, for review mode) - diffs.nvim (optional, for review mode)
Run `:checkhealth forge` to verify CLIs and dependencies. Run |:checkhealth| forge to verify CLIs and dependencies.
============================================================================== ==============================================================================
CONFIGURATION *forge-config* CONFIGURATION *forge-config*

View file

@ -24,22 +24,21 @@
devShells = forEachSystem ( devShells = forEachSystem (
pkgs: pkgs:
let let
vimdoc-ls = vimdoc-language-server.packages.${pkgs.system}.default;
commonPackages = [ commonPackages = [
pkgs.prettier pkgs.prettier
pkgs.stylua pkgs.stylua
pkgs.selene pkgs.selene
pkgs.lua-language-server pkgs.lua-language-server
vimdoc-ls vimdoc-language-server.packages.${pkgs.system}.default
(pkgs.luajit.withPackages (ps: [
ps.busted
ps.nlua
]))
]; ];
in in
{ {
default = pkgs.mkShell { default = pkgs.mkShell { packages = commonPackages; };
packages = commonPackages; ci = pkgs.mkShell { packages = commonPackages ++ [ pkgs.neovim ]; };
};
ci = pkgs.mkShell {
packages = commonPackages;
};
} }
); );
}; };