[MINOR] Added nvim-dap for debugging c and c++ code
This commit is contained in:
parent
0b04bfb7ad
commit
b41b0b00d6
1 changed files with 35 additions and 1 deletions
|
@ -160,7 +160,7 @@ lazy.setup({
|
|||
|
||||
{
|
||||
'luk400/vim-jukit',
|
||||
event = "VeryLazy",
|
||||
ft = {'python','ipynb'},
|
||||
},
|
||||
|
||||
{
|
||||
|
@ -223,6 +223,40 @@ lazy.setup({
|
|||
end
|
||||
},
|
||||
|
||||
{
|
||||
"rcarriga/nvim-dap-ui",
|
||||
event = "VeryLazy",
|
||||
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
|
||||
},
|
||||
{
|
||||
"jay-babu/mason-nvim-dap.nvim",
|
||||
event = "VeryLazy",
|
||||
dependencies = {
|
||||
"williamboman/mason.nvim",
|
||||
"mfussenegger/nvim-dap",
|
||||
},
|
||||
opts = {
|
||||
handlers = {}
|
||||
},
|
||||
},
|
||||
{
|
||||
"mfussenegger/nvim-dap",
|
||||
},
|
||||
|
||||
{
|
||||
'williamboman/mason.nvim',
|
||||
config = function()
|
||||
|
|
Loading…
Reference in a new issue