configure path to java

This commit is contained in:
Paul Campbell 2024-07-08 11:18:32 +01:00
parent a30e0dc610
commit 4dabcbb0e6

View file

@ -52,6 +52,23 @@ return {
{ import = "astrocommunity.pack.json" }, { import = "astrocommunity.pack.json" },
{ import = "astrocommunity.pack.just" }, { import = "astrocommunity.pack.just" },
{ import = "astrocommunity.pack.java" }, { import = "astrocommunity.pack.java" },
{
"mfussenegger/nvim-jdtls",
opts = {
settings = {
java = {
configuration = {
runtimes = {
{
name = "Java-8",
path = "/home/pcampbell/.local/share/mise/installs/java/adoptopenjdk-8.0.392+8/",
},
},
},
},
},
},
},
{ import = "astrocommunity.pack.markdown" }, { import = "astrocommunity.pack.markdown" },
-- { import = "astrocommunity.pack.python" }, -- { import = "astrocommunity.pack.python" },
{ import = "astrocommunity.pack.rust" }, { import = "astrocommunity.pack.rust" },