fix(dap): make sure mason-nvim-dap loads after nvim-dap

This commit is contained in:
Folke Lemaitre
2024-06-15 10:22:41 +02:00
parent e0e1ab01af
commit 2b703ac125

View File

@ -48,8 +48,8 @@ return {
},
config = function()
-- trigger loading mason-nvim-dap
require("mason-nvim-dap")
-- load mason-nvim-dap here, after all adapters have been setup
require("mason-nvim-dap").setup(LazyVim.opts("mason-nvim-dap.nvim"))
vim.api.nvim_set_hl(0, "DapStoppedLine", { default = true, link = "Visual" })
@ -116,5 +116,7 @@ return {
-- Update this to ensure that you have the debuggers for the langs you want
},
},
-- mason-nvim-dap is loaded when nvim-dap loads
config = function() end,
},
}