mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 08:53:33 +02:00
fix(dap): make sure mason-nvim-dap loads after nvim-dap
This commit is contained in:
parent
e0e1ab01af
commit
2b703ac125
1 changed files with 4 additions and 2 deletions
|
@ -48,8 +48,8 @@ return {
|
||||||
},
|
},
|
||||||
|
|
||||||
config = function()
|
config = function()
|
||||||
-- trigger loading mason-nvim-dap
|
-- load mason-nvim-dap here, after all adapters have been setup
|
||||||
require("mason-nvim-dap")
|
require("mason-nvim-dap").setup(LazyVim.opts("mason-nvim-dap.nvim"))
|
||||||
|
|
||||||
vim.api.nvim_set_hl(0, "DapStoppedLine", { default = true, link = "Visual" })
|
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
|
-- 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,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue