This commit is contained in:
Barrett Ruth 2025-09-24 00:47:44 -04:00
parent 699207e713
commit 4429b5fe67
2 changed files with 8 additions and 4 deletions

View file

@ -1,6 +1,8 @@
local picker_utils = require('cp.pickers')
local function contest_picker(platform)
local contest_picker, problem_picker
function contest_picker(platform)
local constants = require('cp.constants')
local platform_display_name = constants.PLATFORM_DISPLAY_NAMES[platform] or platform
local fzf = require('fzf-lua')
@ -51,7 +53,7 @@ local function contest_picker(platform)
})
end
local function problem_picker(platform, contest_id)
function problem_picker(platform, contest_id)
local constants = require('cp.constants')
local platform_display_name = constants.PLATFORM_DISPLAY_NAMES[platform] or platform
local fzf = require('fzf-lua')