fixed two warnings in dap config

This commit is contained in:
Oliver Hartmann 2023-09-21 12:47:55 +02:00
parent 66d9f8d837
commit 4e0c89a4c8

View File

@ -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,