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
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:
parent
84387f2597
commit
e26eceb10c
2 changed files with 44 additions and 3 deletions
|
@ -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;
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue