mirror of
https://github.com/harivansh-afk/forge.nvim.git
synced 2026-04-15 01:00:30 +00:00
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:
parent
d6a4766aac
commit
09463c08b7
2 changed files with 8 additions and 9 deletions
|
|
@ -20,7 +20,7 @@ Requirements: ~
|
|||
- vim-fugitive (optional, for split review)
|
||||
- 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*
|
||||
|
|
|
|||
15
flake.nix
15
flake.nix
|
|
@ -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 ]; };
|
||||
}
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue