update debug

This commit is contained in:
asep komarudin 2023-01-18 06:52:41 +07:00
parent d0298906e6
commit e42d5cbc43
5 changed files with 61 additions and 2 deletions

11
lua/user/dapui.lua Normal file
View file

@ -0,0 +1,11 @@
local dap, dapui = require("dap"), require("dapui")
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
dapui.setup("plugins.dapui", { floating = { border = "rounded" } })