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 ++------ lua/alpha/settings.lua | 1 + 2 files changed, 3 insertions(+), 6 deletions(-) (limited to '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", 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 -- cgit v1.2.3