mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
feat(dap): add clangd debuggee launch arguments
This commit is contained in:
parent
6b837e9165
commit
8b01baef4d
1 changed files with 8 additions and 0 deletions
|
|
@ -139,6 +139,14 @@ return {
|
|||
return vim.fn.input("Path to executable: ", vim.fn.getcwd() .. "/", "file")
|
||||
end,
|
||||
cwd = "${workspaceFolder}",
|
||||
args = function()
|
||||
local s = vim.fn.input("Args to pass: ")
|
||||
local t = {}
|
||||
_ = string.gsub(s, "[^ ]+", function(w)
|
||||
table.insert(t, w)
|
||||
end)
|
||||
return t
|
||||
end,
|
||||
},
|
||||
{
|
||||
type = "codelldb",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue