mirror of
https://github.com/harivansh-afk/forge.nvim.git
synced 2026-04-15 03:00:46 +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)
|
- 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*
|
||||||
|
|
|
||||||
15
flake.nix
15
flake.nix
|
|
@ -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;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue