Nvim: fix jdtls runtime configuration

This commit is contained in:
Marko Korhonen 2024-02-22 11:15:11 +02:00
parent f738678bd5
commit 19b5407a9a
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890

View file

@ -33,9 +33,7 @@ require("jdtls").start_or_attach({
java = {
signatureHelp = { enabled = true },
autobuild = { enabled = false },
},
},
completion = { favoriteStaticMembers = { "java.text.MessageFormat.format" } },
configuration = {
runtimes = {
{
name = "JavaSE-1.8",
@ -54,6 +52,10 @@ require("jdtls").start_or_attach({
path = jvm .. "/java-21-openjdk-amd64/",
},
},
},
},
},
completion = { favoriteStaticMembers = { "java.text.MessageFormat.format" } },
handlers = {
["language/status"] = function() end,
},