mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-25 07:58:08 +01:00
15 lines
363 B
Lua
15 lines
363 B
Lua
|
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
|
||
|
|