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 { (pkgs.substituteAll {
src = ./init.lua; src = ./init.lua;
inherit (pkgs) metals; inherit (pkgs) metals;
javaHome = pkgs.jdk.home;
}) })
.outPath; .outPath;
}; };

View File

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