1
0

FEAT: Added Debugger Adapter Protocol

Paths are setup for my main Windows machine
Linux can be defined when necessary
This commit is contained in:
2024-03-28 21:45:53 +01:00
parent 0600421787
commit 040375e338
4 changed files with 62 additions and 5 deletions

View File

@ -0,0 +1,28 @@
return {
{
'mfussenegger/nvim-dap',
dependencies = {
{
'rcarriga/nvim-dap-ui',
dependencies = {
'mfussenegger/nvim-dap',
'nvim-neotest/nvim-nio',
},
config = function ()
require("dapui").setup()
end
},
},
config = function ()
local dap = require('dap')
dap.configurations.java = {
{
type = 'java';
request = 'launch';
name = "Launch file";
program = "java ${file}";
},
}
end
}
}

View File

@ -10,6 +10,7 @@ return
"hrsh7th/cmp-cmdline",
"hrsh7th/nvim-cmp",
'L3MON4D3/LuaSnip',
{'mfussenegger/nvim-jdtls', dependencies = {'nvim-dap'}},
},
config = function()
require("mason").setup()