From 4dabcbb0e655da26f0d01506fcf9ca00ed8067f6 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Mon, 8 Jul 2024 11:18:32 +0100 Subject: [PATCH] configure path to java --- lua/community.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/lua/community.lua b/lua/community.lua index a3f2208..7aebf0a 100644 --- a/lua/community.lua +++ b/lua/community.lua @@ -52,6 +52,23 @@ return { { import = "astrocommunity.pack.json" }, { import = "astrocommunity.pack.just" }, { 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.python" }, { import = "astrocommunity.pack.rust" },