Nvim: fix jdtls runtime configuration
This commit is contained in:
parent
f738678bd5
commit
19b5407a9a
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue