[nvim] dap and dap ui

This commit is contained in:
Afonso Franco 2024-10-11 15:13:34 +01:00
parent 3f30d890f7
commit cf5d16e792
Signed by: afonso
SSH key fingerprint: SHA256:PQTRDHPH3yALEGtHXnXBp3Orfcn21pK20t0tS1kHg54

View file

@ -231,6 +231,39 @@ return {
},
config = true,
},
{
"rcarriga/nvim-dap-ui",
event = "VeryLazy",
dependencies = { "mfussenegger/nvim-dap", "nvim-neotest/nvim-nio" },
config = function()
local dap = require("dap")
local dapui = require("dapui")
dapui.setup()
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
end
},
{
"jay-babu/mason-nvim-dap.nvim",
event = "VeryLazy",
dependencies = {
"williamboman/mason.nvim",
"mfussenegger/nvim-dap",
},
opts = {
handlers = {}
},
},
{
"mfussenegger/nvim-dap",
},
{
"stevearc/conform.nvim",
event = "VeryLazy",
@ -251,7 +284,7 @@ return {
{
"lervag/vimtex",
filetypes = {"tex"},
filetypes = { "tex" },
config = function()
if vim.loop.os_uname().sysname == "Darwin" then
vim.g.vimtex_view_method = 'skim'