From 56f05f67f007ed8097fb9f982265ca7d512f456a Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Tue, 13 Dec 2022 15:41:34 +0100 Subject: small improvements --- lua/alpha/dap.lua | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'lua/alpha/dap.lua') diff --git a/lua/alpha/dap.lua b/lua/alpha/dap.lua index 8e747db..0776ba7 100644 --- a/lua/alpha/dap.lua +++ b/lua/alpha/dap.lua @@ -38,15 +38,11 @@ vim.fn.sign_define("DapLogPoint", { text = "💬", texthl = "", linehl = "", num -- vim.cmd("au FileType dap-repl lua require('dap.ext.autocompl').attach()") --- TODO replace with mason for check if installed and get the path --- the binary does not work -local php_debug_adapter = vim.fn.stdpath("data") .. "/mason/packages/php-debug-adapter/extension/out/phpDebug.js" - dap.adapters.php = { type = "executable", - command = "node", - args = { php_debug_adapter }, + command = "php-debug-adapter", } + dap.configurations.php = { { type = "php", -- cgit v1.2.3