fix refactor pt 2

This commit is contained in:
dlond 2025-05-25 23:49:55 +12:00
parent 97ee0a6eca
commit 6ade3bdbd9
1 changed files with 2 additions and 1 deletions

View File

@ -70,7 +70,8 @@ return {
request = 'launch',
program = function()
local utils = require 'custom.utils'
local co = utils.pick_executable '${workspaceFolder}/build'
local cwd = vim.fn.getcwd()
local co = utils.pick_executable(cwd .. '/build')
local ok, result = coroutine.resume(co)
return ok and result or nil
end,