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