Add php-debug-adapter to mason

This commit is contained in:
TheDSCPL 2025-05-14 07:47:11 +00:00
parent ec5981dfb1
commit 3f816b4733
No known key found for this signature in database
GPG key ID: 47B781E11EFDE8AD

View file

@ -46,6 +46,16 @@ return {
{ {
"mfussenegger/nvim-dap", "mfussenegger/nvim-dap",
optional = true, optional = true,
specs = {
{
"mason-org/mason.nvim",
opts = {
ensure_installed = {
"php-debug-adapter",
},
},
},
},
opts = function() opts = function()
local dap = require("dap") local dap = require("dap")
local path = require("mason-registry").get_package("php-debug-adapter"):get_install_path() local path = require("mason-registry").get_package("php-debug-adapter"):get_install_path()