Removed asm config for mason-nvim-dap.nvim
Config added upstream
This commit is contained in:
parent
5cb8ed43b4
commit
7235e49032
31
init.lua
31
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user