dotfiles/dot_config/nvim/lua/custom/configs/nvim-dap-ui.lua

15 lines
363 B
Lua
Raw Normal View History

2024-02-18 01:14:11 +01:00
local dap, dapui = require("dap"), require("dapui")
dap.listeners.before.attach.dapui_config = function()
dapui.open()
end
dap.listeners.before.launch.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