fixed two warnings in dap config
This commit is contained in:
parent
66d9f8d837
commit
4e0c89a4c8
@ -187,7 +187,7 @@ return {
|
|||||||
type = 'codelldb',
|
type = 'codelldb',
|
||||||
request = 'launch',
|
request = 'launch',
|
||||||
program = function()
|
program = function()
|
||||||
return vim.fn.input('Path to executable: ', vim.fn.getcwd() .. '/build_nvim/', 'file')
|
return vim.fn.input({'Path to executable: ', vim.fn.getcwd() .. '/build_nvim/', 'file'})
|
||||||
end,
|
end,
|
||||||
cwd = '${workspaceFolder}',
|
cwd = '${workspaceFolder}',
|
||||||
stopOnEntry = false,
|
stopOnEntry = false,
|
||||||
@ -197,7 +197,7 @@ return {
|
|||||||
type = 'lldb',
|
type = 'lldb',
|
||||||
request = 'launch',
|
request = 'launch',
|
||||||
program = function()
|
program = function()
|
||||||
return vim.fn.input('Path to executable: ', vim.fn.getcwd() .. '/build_nvim', 'file')
|
return vim.fn.input({'Path to executable: ', vim.fn.getcwd() .. '/build_nvim', 'file'})
|
||||||
end,
|
end,
|
||||||
cwd = '${workspaceFolder}',
|
cwd = '${workspaceFolder}',
|
||||||
stopOnEntry = false,
|
stopOnEntry = false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user