From 7235e49032570f6f2b5de46d2ecf4a3fb5d26bb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C5=A0tefka?= Date: Fri, 17 Feb 2023 23:09:13 +0100 Subject: [PATCH] Removed asm config for mason-nvim-dap.nvim Config added upstream --- init.lua | 31 +------------------------------ 1 file changed, 1 insertion(+), 30 deletions(-) diff --git a/init.lua b/init.lua index 019a394..9d8eac1 100644 --- a/init.lua +++ b/init.lua @@ -186,36 +186,7 @@ local config = { } }, }, - dap = { - configurations = { - asm = { - { - name = "Launch file", - type = "cppdbg", - request = "launch", - program = function() - return vim.fn.input('Path to executable: ', - vim.fn.getcwd() .. '/', 'file') - end, - cwd = '${workspaceFolder}', - stopAtEntry = true - }, - { - name = 'Attach to gdbserver :1234', - type = 'cppdbg', - request = 'launch', - MIMode = 'gdb', - miDebuggerServerAddress = 'localhost:1234', - miDebuggerPath = '/usr/bin/gdb', - cwd = '${workspaceFolder}', - program = function() - return vim.fn.input('Path to executable: ', - vim.fn.getcwd() .. '/', 'file') - end - } - } - } - }, + -- Mapping data with "desc" stored directly by vim.keymap.set(). -- -- Please use this mappings table to set keyboard mapping since this is the