2023-01-24 08:12:36 +07:00
|
|
|
local dap, dapui = require("dap"), require("dapui")
|
|
|
|
|
2023-01-18 17:42:00 +07:00
|
|
|
dap.listeners.after.event_initialized["dapui_config"] = function()
|
2023-02-15 09:07:41 +07:00
|
|
|
dapui.setup()
|
2023-01-18 17:42:00 +07:00
|
|
|
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
|
|
|
|
vim.fn.sign_define("DapBreakpoint", { text = "🟥", texthl = "", linehl = "", numhl = "" })
|
|
|
|
vim.fn.sign_define("DapStopped", { text = "▶️", texthl = "", linehl = "", numhl = "" })
|