mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-24 01:38:47 +02:00
update debug
This commit is contained in:
parent
f55135f114
commit
0e0f7d17cf
4 changed files with 38 additions and 1 deletions
13
lua/user/dapui.lua
Normal file
13
lua/user/dapui.lua
Normal file
|
@ -0,0 +1,13 @@
|
|||
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()
|
||||
vim.fn.sign_define("DapBreakpoint", { text = "🟥", texthl = "", linehl = "", numhl = "" })
|
||||
vim.fn.sign_define("DapStopped", { text = "▶️", texthl = "", linehl = "", numhl = "" })
|
Loading…
Add table
Add a link
Reference in a new issue