2024-07-29 05:04:34 -05:00
|
|
|
return {
|
|
|
|
|
{
|
|
|
|
|
"dreamsofcode-io/nvim-dap-go",
|
|
|
|
|
ft = "go",
|
|
|
|
|
dependencies = {
|
|
|
|
|
"mfussenegger/nvim-dap",
|
|
|
|
|
"rcarriga/nvim-dap-ui",
|
|
|
|
|
},
|
|
|
|
|
config = function(_, opts)
|
|
|
|
|
require("dap-go").setup(opts)
|
|
|
|
|
end,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"mfussenegger/nvim-dap",
|
2025-05-02 06:09:07 -05:00
|
|
|
config = function() end,
|
2024-07-29 05:04:34 -05:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"nvim-neotest/nvim-nio",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"rcarriga/nvim-dap-ui",
|
|
|
|
|
dependencies = "mfussenegger/nvim-dap",
|
|
|
|
|
config = function()
|
|
|
|
|
local dap = require("dap")
|
|
|
|
|
local dapui = require("dapui")
|
|
|
|
|
dapui.setup()
|
|
|
|
|
dap.listeners.after.event_initialized["dapui_config"] = function()
|
|
|
|
|
dapui.open()
|
|
|
|
|
end
|
|
|
|
|
dap.listeners.before.event_terminated["dapui_config"] = function()
|
|
|
|
|
dapui.close()
|
|
|
|
|
end
|
|
|
|
|
dap.listeners.before.event_exited["dapui_config"] = function()
|
|
|
|
|
dapui.close()
|
|
|
|
|
end
|
|
|
|
|
end,
|
|
|
|
|
},
|
|
|
|
|
}
|