FEAT: Added Debugger Adapter Protocol
Paths are setup for my main Windows machine Linux can be defined when necessary
This commit is contained in:
28
lua/barink/plugins/dap.lua
Normal file
28
lua/barink/plugins/dap.lua
Normal 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
|
||||
}
|
||||
}
|
@ -10,6 +10,7 @@ return
|
||||
"hrsh7th/cmp-cmdline",
|
||||
"hrsh7th/nvim-cmp",
|
||||
'L3MON4D3/LuaSnip',
|
||||
{'mfussenegger/nvim-jdtls', dependencies = {'nvim-dap'}},
|
||||
},
|
||||
config = function()
|
||||
require("mason").setup()
|
||||
|
Reference in New Issue
Block a user