bump versions, fix dap of java

This commit is contained in:
2026-03-25 00:44:29 +05:00
parent 171889104d
commit 87d954f0d8
2 changed files with 34 additions and 12 deletions

View File

@@ -0,0 +1,22 @@
return {
"mfussenegger/nvim-dap",
optional = true,
opts = function()
local dap = require("dap")
dap.configurations.java = {
{
type = "java",
request = "attach",
name = "Debug (Attach) - Remote",
hostName = "127.0.0.1",
port = tonumber(os.getenv("JAVA_DEBUG_PORT") or "5005"),
},
}
end,
dependencies = {
{
"mason-org/mason.nvim",
opts = { ensure_installed = { "java-debug-adapter", "java-test" } },
},
},
}