Remove neodev as I wasn't even using it, additionally, fix so that we
properly exit debug mode when manually stopping the debugger
This commit is contained in:
parent
12840af4c9
commit
e54038aafd
1 changed files with 3 additions and 3 deletions
|
|
@ -63,6 +63,7 @@ local function setup_dap()
|
||||||
local dap = require("dap")
|
local dap = require("dap")
|
||||||
local dapui = require("dapui")
|
local dapui = require("dapui")
|
||||||
dapui.setup()
|
dapui.setup()
|
||||||
|
|
||||||
local stepping_keymaps = {
|
local stepping_keymaps = {
|
||||||
n = {
|
n = {
|
||||||
["m"] = {
|
["m"] = {
|
||||||
|
|
@ -139,7 +140,7 @@ local function setup_dap()
|
||||||
cmd = function()
|
cmd = function()
|
||||||
dap.disconnect({ terminateDebuggee = true })
|
dap.disconnect({ terminateDebuggee = true })
|
||||||
dap.close()
|
dap.close()
|
||||||
-- No need to manually exit debug mode here as it will get called from the event handler
|
exit_debug_mode()
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
@ -158,11 +159,10 @@ return {
|
||||||
"williamboman/mason-lspconfig.nvim",
|
"williamboman/mason-lspconfig.nvim",
|
||||||
|
|
||||||
-- DAP
|
-- DAP
|
||||||
"folke/neodev.nvim",
|
|
||||||
"jay-babu/mason-nvim-dap.nvim",
|
"jay-babu/mason-nvim-dap.nvim",
|
||||||
"rcarriga/nvim-dap-ui",
|
"rcarriga/nvim-dap-ui",
|
||||||
"mfussenegger/nvim-dap",
|
"mfussenegger/nvim-dap",
|
||||||
"nvim-neotest/nvim-nio",
|
{ "nvim-neotest/nvim-nio", lazy = true },
|
||||||
"LiadOz/nvim-dap-repl-highlights",
|
"LiadOz/nvim-dap-repl-highlights",
|
||||||
"theHamsta/nvim-dap-virtual-text"
|
"theHamsta/nvim-dap-virtual-text"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue