aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/alpha/dap.lua8
-rw-r--r--lua/alpha/settings.lua1
2 files changed, 3 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",
diff --git a/lua/alpha/settings.lua b/lua/alpha/settings.lua
index a663c42..51efb63 100644
--- a/lua/alpha/settings.lua
+++ b/lua/alpha/settings.lua
@@ -6,6 +6,7 @@ vim.g.alpha_lualine_color = "tokyonight"
local options = vim.o
+options.mouse = false
options.number = true
options.relativenumber = true