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