feat(java): enable inlay hints. Fixes #3244

This commit is contained in:
Folke Lemaitre
2024-05-20 20:42:10 +02:00
parent 3db94e44a0
commit e5ea8abd38

View File

@ -118,11 +118,18 @@ return {
dap = { hotcodereplace = "auto", config_overrides = {} },
dap_main = {},
test = true,
settings = {
java = {
inlayHints = {
parameterNames = {
enabled = "all",
},
},
},
},
}
end,
config = function()
local opts = LazyVim.opts("nvim-jdtls") or {}
config = function(_, opts)
-- Find the extra bundles that should be passed on the jdtls command-line
-- if nvim-dap is enabled with java debug/test.
local mason_registry = require("mason-registry")