Trouble, Debug Go, Noice

This commit is contained in:
ChrisHilborne 2024-02-13 23:12:50 +01:00
parent 13c4121987
commit eb3588923f
5 changed files with 74 additions and 14 deletions

View file

@ -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