From d45b90e28752b85c5973b0d8b7d1103812e7f675 Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Tue, 25 Jan 2022 20:38:04 +0100 Subject: Change vimspector for dap --- lua/alpha/init.lua | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'lua/alpha/init.lua') diff --git a/lua/alpha/init.lua b/lua/alpha/init.lua index 296b38c..30306c6 100644 --- a/lua/alpha/init.lua +++ b/lua/alpha/init.lua @@ -8,7 +8,7 @@ require("alpha.completition") require("alpha.lsp") require("alpha.treesitter") require("alpha.status-line") - +require("alpha.dap") -- Keybindings @@ -16,23 +16,3 @@ vim.api.nvim_set_keymap('n', 'rs', ':lua require(\'alpha.refactor\').set vim.api.nvim_set_keymap('n', 'rn', ':lua require(\'alpha.refactor\').new_property()', {noremap = true}) vim.api.nvim_set_keymap('n', 'x', ':call alpha#save_and_exec()', {noremap = true}) - -local dap = require('dap') - -dap.adapters.php = { - type = 'executable', - command = 'node', - args = { '/home/adalessa/repos/vscode-php-debug/out/phpDebug.js' } -} - -dap.configurations.php = { - { - type = 'php', - request = 'launch', - name = 'Listen for Xdebug', - port = 9003, - pathMappings = { - ['/app'] = vim.fn.getcwd() - } - } -} -- cgit v1.2.3