Update DAP for Go
This commit is contained in:
parent
e096af711f
commit
a534812656
@ -26,7 +26,13 @@ return {
|
||||
"theHamsta/nvim-dap-virtual-text",
|
||||
opts = {},
|
||||
},
|
||||
-- Mason integration
|
||||
"jay-babu/mason-nvim-dap.nvim",
|
||||
-- Go (Delve) integration
|
||||
{
|
||||
"leoluz/nvim-dap-go",
|
||||
opts = {},
|
||||
},
|
||||
},
|
||||
keys = {
|
||||
{
|
||||
@ -180,24 +186,34 @@ return {
|
||||
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
|
||||
-- dap.listeners.before.event_terminated["dapui_config"] = function()
|
||||
-- dapui.close({})
|
||||
-- end
|
||||
-- dap.listeners.before.event_exited["dapui_config"] = function()
|
||||
-- dapui.close({})
|
||||
-- end
|
||||
end,
|
||||
},
|
||||
|
||||
-- mason.nvim integration
|
||||
{
|
||||
"jay-babu/mason-nvim-dap.nvim",
|
||||
dependencies = { "mason-org/mason.nvim" },
|
||||
dependencies = {
|
||||
"mason-org/mason.nvim",
|
||||
},
|
||||
lazy = true,
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
"php-debug-adapter",
|
||||
},
|
||||
|
||||
-- Makes a best effort to setup the various debuggers with
|
||||
-- reasonable debug configurations
|
||||
automatic_installation = true,
|
||||
automatic_installation = {
|
||||
exclude = {
|
||||
"delve",
|
||||
},
|
||||
},
|
||||
|
||||
-- You can provide additional configuration to the handlers,
|
||||
-- see mason-nvim-dap README for more information
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user