[MINOR] Added nvim-dap for debugging c and c++ code

This commit is contained in:
Afonso Franco 2023-10-21 15:18:59 +01:00
parent 0b04bfb7ad
commit b41b0b00d6
Signed by: afonso
SSH key fingerprint: SHA256:JiuxZNdA5bRWXPMUJChI0AQ75yC+cXY4xM0IaVwEVys

View file

@ -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()