fix(nvim): check all nvim options #133

Merged
jalil merged 1 commit from test-all-nvim into main 2024-11-06 22:42:55 +01:00
2 changed files with 44 additions and 3 deletions
Showing only changes of commit e26eceb10c - Show all commits

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";