aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha/dap.lua
diff options
context:
space:
mode:
authorAriel D'Alessandro <ariel.dalessandro@auto1.com>2022-12-13 15:41:34 +0100
committerAriel D'Alessandro <ariel.dalessandro@auto1.com>2022-12-13 15:41:34 +0100
commit56f05f67f007ed8097fb9f982265ca7d512f456a (patch)
treea323def0729f0c339372a82617957e97b08cc747 /lua/alpha/dap.lua
parent49d72a68e932b3c2a1c1b52e23ea4929b5780d5c (diff)
downloadnvim-conf-56f05f67f007ed8097fb9f982265ca7d512f456a.tar.gz
nvim-conf-56f05f67f007ed8097fb9f982265ca7d512f456a.zip
small improvements
Diffstat (limited to 'lua/alpha/dap.lua')
-rw-r--r--lua/alpha/dap.lua8
1 files changed, 2 insertions, 6 deletions
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",