mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-07-09 00:44:29 +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 = "" })
|
3
lua/user/mason_dap.lua
Normal file
3
lua/user/mason_dap.lua
Normal file
|
@ -0,0 +1,3 @@
|
|||
local mason_nvim_dap = require("mason-nvim-dap")
|
||||
mason_nvim_dap.setup({ automatic_setup = true })
|
||||
mason_nvim_dap.setup_handlers({})
|
Loading…
Add table
Add a link
Reference in a new issue