Trouble, Debug Go, Noice
This commit is contained in:
parent
13c4121987
commit
eb3588923f
5 changed files with 74 additions and 14 deletions
|
|
@ -25,6 +25,19 @@ return {
|
|||
local dap = require 'dap'
|
||||
local dapui = 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
|
||||
|
||||
vim.fn.sign_define('DapBreakpoint', { text = '🟥', texthl = '', linehl = '', numhl = '' })
|
||||
vim.fn.sign_define('DapStopped', { text = '▶️', texthl = '', linehl = '', numhl = '' })
|
||||
|
||||
require('mason-nvim-dap').setup {
|
||||
-- Makes a best effort to setup the various debuggers with
|
||||
-- reasonable debug configurations
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue