fix(nvim): check all nvim options
All checks were successful
/ check (push) Successful in 39s
/ build (audiomenu) (push) Successful in 1s
/ build (docs) (push) Successful in 1s
/ build (jpassmenu) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 1s
/ build (nvim) (push) Successful in 1s

This surfaced an issue with `bundleLSPs = false`
This commit is contained in:
Jalil David Salamé Messina 2024-11-06 22:33:30 +01:00
parent 84387f2597
commit e26eceb10c
Signed by: jalil
GPG key ID: F016B9E770737A0B
2 changed files with 44 additions and 3 deletions

View file

@ -26,11 +26,52 @@
config.jhome.nvim.dev.enable = false; config.jhome.nvim.dev.enable = false;
}; };
}; };
moduleNoLsp = {
inherit pkgs;
extraSpecialArgs = {
inherit (inputs) unstable;
inherit system;
};
module = {
imports = [ (import ../nvim/standalone.nix { standalone = true; }) ];
config.jhome.nvim.dev.bundleLSPs = false;
};
};
moduleNoTSGrammars = {
inherit pkgs;
extraSpecialArgs = {
inherit (inputs) unstable;
inherit system;
};
module = {
imports = [ (import ../nvim/standalone.nix { standalone = true; }) ];
config.jhome.nvim.dev.bundleGrammars = false;
};
};
moduleNoBundledBins = {
inherit pkgs;
extraSpecialArgs = {
inherit (inputs) unstable;
inherit system;
};
module = {
imports = [ (import ../nvim/standalone.nix { standalone = true; }) ];
config.jhome.nvim.dev = {
bundleLSPs = false;
bundleGrammars = false;
};
};
};
in in
{ {
# Check standalone nvim build # Check standalone nvim build
checks.nvimDev = nixvimLib.check.mkTestDerivationFromNixvimModule moduleDev; checks = {
checks.nvimHeadless = nixvimLib.check.mkTestDerivationFromNixvimModule moduleHeadless; nvimDev = nixvimLib.check.mkTestDerivationFromNixvimModule moduleDev;
nvimHeadless = nixvimLib.check.mkTestDerivationFromNixvimModule moduleHeadless;
nvimNoLsp = nixvimLib.check.mkTestDerivationFromNixvimModule moduleNoLsp;
nvimNoTSGrammars = nixvimLib.check.mkTestDerivationFromNixvimModule moduleNoTSGrammars;
nvimNoBundledBins = nixvimLib.check.mkTestDerivationFromNixvimModule moduleNoBundledBins;
};
# Nvim standalone module # Nvim standalone module
packages.nvim = nixvim.makeNixvimWithModule moduleDev; packages.nvim = nixvim.makeNixvimWithModule moduleDev;

View file

@ -41,7 +41,7 @@ in
# Configure LSPs # Configure LSPs
{ {
plugins = { plugins = {
lsp.servers.bashls.package = pkgs.bash-language-server; lsp.servers.bashls.package = lib.mkDefault pkgs.bash-language-server;
lspkind = { lspkind = {
enable = true; enable = true;
mode = "symbol"; mode = "symbol";