feat(picker): one step closer to fully async

This commit is contained in:
Barrett Ruth 2025-09-23 12:16:57 -04:00
parent 8a9bc7434f
commit 62eab3df2d
3 changed files with 94 additions and 26 deletions

View file

@ -39,7 +39,8 @@ local function problem_picker(opts, platform, contest_id)
actions.close(prompt_bufnr)
if selection then
picker_utils.setup_problem(platform, contest_id, selection.value.id)
local cp = require('cp')
cp.handle_command({ fargs = { platform, contest_id, selection.value.id } })
end
end)
return true