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