mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
update dap config before running debug test
This commit is contained in:
parent
0f03c028ba
commit
9ea071c1fe
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ return {
|
||||||
jdtls = {
|
jdtls = {
|
||||||
keys = {
|
keys = {
|
||||||
-- Workaround for the lack of a DAP strategy in neotest-java
|
-- Workaround for the lack of a DAP strategy in neotest-java
|
||||||
{ "<leader>td", "<cmd>lua require('java').test.debug_current_method()<CR>", desc = "Debug Nearest (Java)" },
|
{ "<leader>td", function() require('java').dap.config_dap(); require('java').test.debug_current_method() end, desc = "Debug Nearest (Java)" },
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue