fix(dap): make sure mason-dap is loaded after initializing dap. See #3663
This commit is contained in:
@ -30,12 +30,6 @@ return {
|
||||
{
|
||||
"mfussenegger/nvim-dap",
|
||||
optional = true,
|
||||
dependencies = {
|
||||
"williamboman/mason.nvim",
|
||||
opts = { ensure_installed = {
|
||||
"php-debug-adapter",
|
||||
} },
|
||||
},
|
||||
opts = function()
|
||||
local dap = require("dap")
|
||||
local path = require("mason-registry").get_package("php-debug-adapter"):get_install_path()
|
||||
|
Reference in New Issue
Block a user