diff --git a/lua/plugins/dap.lua b/lua/plugins/dap.lua index 4395583..5164899 100644 --- a/lua/plugins/dap.lua +++ b/lua/plugins/dap.lua @@ -187,7 +187,7 @@ return { type = 'codelldb', request = 'launch', 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, cwd = '${workspaceFolder}', stopOnEntry = false, @@ -197,7 +197,7 @@ return { type = 'lldb', request = 'launch', 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, cwd = '${workspaceFolder}', stopOnEntry = false,