846 current 2024-07-22 13:34:51 24.11.20240722.176e4e9 6.9.8-zen1 *

This commit is contained in:
zack 2024-07-22 13:34:52 -04:00
parent 99746f7b74
commit b41eefca4b
No known key found for this signature in database
GPG key ID: 5F873416BCF59F35
3 changed files with 69 additions and 6 deletions

View file

@ -31,7 +31,71 @@ M.lua_ls = make_config("lua_ls", {
M.nil_ls = make_config("nixd", {})
M.jdtls = make_config("jdtls", {})
M.jdtls = make_config("jdtls", {
settings = {
java = {
signatureHelp = { enabled = true },
configuration = {
updateBuildConfiguration = "interactive",
-- runtimes = {
-- {
-- name = "JavaSE-11",
-- path = "/usr/lib/jvm/java-11-openjdk/",
-- default = true
-- },
-- -- {
-- -- name = "JavaSE-17",
-- -- path = "/usr/lib/jvm/java-17-openjdk/",
-- -- },
-- },
},
eclipse = {
downloadSources = true,
},
maven = {
downloadSources = true,
},
implementationsCodeLens = {
enabled = true,
},
referencesCodeLens = {
enabled = true,
},
references = {
includeDecompiledSources = true,
},
inlayHints = {
parameterNames = {
enabled = "all", -- literals, all, none
},
},
completion = {
favoriteStaticMembers = {
"org.hamcrest.MatcherAssert.assertThat",
"org.hamcrest.Matchers.*",
"org.hamcrest.CoreMatchers.*",
"org.junit.jupiter.api.Assertions.*",
"java.util.Objects.requireNonNull",
"java.util.Objects.requireNonNullElse",
"org.mockito.Mockito.*",
},
},
sources = {
organizeImports = {
starThreshold = 9999,
staticStarThreshold = 9999,
},
},
codeGeneration = {
toString = {
template = "${object.className}{${member.name()}=${member.value}, ${otherMembers}}",
},
useBlocks = true,
},
},
},
})
M.cssls = make_config("cssls", {
settings = {

View file

@ -1 +0,0 @@
return { "nvim-java/nvim-java" }