fix(nvim): check all nvim options #133
2 changed files with 44 additions and 3 deletions
|
@ -26,11 +26,52 @@
|
|||
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
|
||||
{
|
||||
# Check standalone nvim build
|
||||
checks.nvimDev = nixvimLib.check.mkTestDerivationFromNixvimModule moduleDev;
|
||||
checks.nvimHeadless = nixvimLib.check.mkTestDerivationFromNixvimModule moduleHeadless;
|
||||
checks = {
|
||||
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
|
||||
packages.nvim = nixvim.makeNixvimWithModule moduleDev;
|
||||
|
|
|
@ -41,7 +41,7 @@ in
|
|||
# Configure LSPs
|
||||
{
|
||||
plugins = {
|
||||
lsp.servers.bashls.package = pkgs.bash-language-server;
|
||||
lsp.servers.bashls.package = lib.mkDefault pkgs.bash-language-server;
|
||||
lspkind = {
|
||||
enable = true;
|
||||
mode = "symbol";
|
||||
|
|
Loading…
Reference in a new issue