fix stupid nvim-dap bug

This commit is contained in:
LordMZTE 2022-11-13 21:31:04 +01:00
parent 7003744c58
commit aa91f80604
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6

View file

@ -23,11 +23,7 @@ dap.configurations.c = {
cwd = "${workspaceFolder}",
stopOnEntry = false,
args = function()
local parts = {}
for p in vim.split(vim.fn.input "Args: ", " ") do
table.insert(parts, p)
end
return parts
return vim.split(vim.fn.input "Args: ", " ")
end,
runInTerminal = true,
},