fix
This commit is contained in:
parent
699207e713
commit
4429b5fe67
2 changed files with 8 additions and 4 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue