feat: add openjdk{8,21,25} to java.configuration.runtimes option for jdtls
All checks were successful
ci / nix-fmt (push) Successful in 1m3s
All checks were successful
ci / nix-fmt (push) Successful in 1m3s
This commit is contained in:
parent
c51a0e0013
commit
b7e1c79b4f
1 changed files with 20 additions and 1 deletions
|
|
@ -2,6 +2,7 @@
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
namespace,
|
namespace,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
} @ inputs: let
|
} @ inputs: let
|
||||||
inherit (lib) mkIf mkEnableOption;
|
inherit (lib) mkIf mkEnableOption;
|
||||||
|
|
@ -32,7 +33,25 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
installGhc = false;
|
installGhc = false;
|
||||||
};
|
};
|
||||||
jdtls.enable = true;
|
jdtls = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
java.configuration.runtimes = [
|
||||||
|
{
|
||||||
|
name = "JavaSE-25";
|
||||||
|
path = pkgs.openjdk25;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "JavaSE-21";
|
||||||
|
path = pkgs.openjdk21;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "JavaSE-8";
|
||||||
|
path = pkgs.openjdk8;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
lua_ls.enable = true;
|
lua_ls.enable = true;
|
||||||
nixd.enable = true;
|
nixd.enable = true;
|
||||||
pylsp = {
|
pylsp = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue