From 4e0c89a4c86c590ba22d37f2ae4ce74dc8771298 Mon Sep 17 00:00:00 2001 From: Oliver Hartmann Date: Thu, 21 Sep 2023 12:47:55 +0200 Subject: [PATCH] fixed two warnings in dap config --- lua/plugins/dap.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,