mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix(dap): only load mason-nvim-dap when not disabled
This commit is contained in:
parent
8ea3f690e6
commit
86fe5ed16c
1 changed files with 3 additions and 1 deletions
|
|
@ -49,7 +49,9 @@ return {
|
|||
|
||||
config = function()
|
||||
-- load mason-nvim-dap here, after all adapters have been setup
|
||||
require("mason-nvim-dap").setup(LazyVim.opts("mason-nvim-dap.nvim"))
|
||||
if LazyVim.has("mason-nvim-dap.nvim") then
|
||||
require("mason-nvim-dap").setup(LazyVim.opts("mason-nvim-dap.nvim"))
|
||||
end
|
||||
|
||||
vim.api.nvim_set_hl(0, "DapStoppedLine", { default = true, link = "Visual" })
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue