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

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