feat(picker): one step closer to fully async
This commit is contained in:
parent
8a9bc7434f
commit
62eab3df2d
3 changed files with 94 additions and 26 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue