nixos: gen 52 @ lilac — 2026-09-18 20:58 26.05.20260814.02e0898 (Yarara) -----
This commit is contained in:
@@ -234,6 +234,17 @@ in
|
||||
dapui.setup()
|
||||
require("nvim-dap-virtual-text").setup()
|
||||
|
||||
-- `jtest --debug` suspends the test JVM waiting on :5005; this lets
|
||||
-- <leader>dc attach to it directly from the config picker.
|
||||
dap.configurations.java = dap.configurations.java or {}
|
||||
table.insert(dap.configurations.java, {
|
||||
type = "java",
|
||||
request = "attach",
|
||||
name = "Attach to jtest (:5005)",
|
||||
hostName = "127.0.0.1",
|
||||
port = 5005,
|
||||
})
|
||||
|
||||
dap.listeners.after.event_initialized["dapui"] = function() dapui.open() end
|
||||
dap.listeners.before.event_terminated["dapui"] = function() dapui.close() end
|
||||
dap.listeners.before.event_exited["dapui"] = function() dapui.close() end
|
||||
|
||||
Reference in New Issue
Block a user