fix refactor
This commit is contained in:
parent
6455565e79
commit
97ee0a6eca
2 changed files with 45 additions and 40 deletions
|
|
@ -68,7 +68,12 @@ return {
|
|||
name = 'Launch C/C++ (lldb-dap)',
|
||||
type = 'lldb',
|
||||
request = 'launch',
|
||||
program = require('custom.utils').pick_executable,
|
||||
program = function()
|
||||
local utils = require 'custom.utils'
|
||||
local co = utils.pick_executable '${workspaceFolder}/build'
|
||||
local ok, result = coroutine.resume(co)
|
||||
return ok and result or nil
|
||||
end,
|
||||
cwd = '${workspaceFolder}',
|
||||
stopOnEntry = false,
|
||||
args = {},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue