vimrc: add javaHome

This commit is contained in:
Motiejus Jakštys 2023-10-09 16:30:46 +03:00 committed by Motiejus Jakštys
parent 37775883b6
commit 3d4417081c
2 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,7 @@
(pkgs.substituteAll {
src = ./init.lua;
inherit (pkgs) metals;
javaHome = pkgs.jdk.home;
})
.outPath;
};

View File

@ -177,6 +177,7 @@ metals_config.settings = {
showImplicitArguments = true,
excludedPackages = { "akka.actor.typed.javadsl", "com.github.swagger.akka.javadsl" },
metalsBinaryPath = "@metals@/bin/metals",
javaHome = "@javaHome@",
}
-- *READ THIS*