test: add minimal_init for codechef testing
This commit is contained in:
parent
39d73545a6
commit
8f55dbeb33
1 changed files with 9 additions and 0 deletions
|
|
@ -209,6 +209,15 @@ function M.start(platform, contest_id, language)
|
|||
race_state.last_refetch = os.time()
|
||||
race_state.token = token
|
||||
|
||||
logger.log(
|
||||
('%s race "%s" starts in %s'):format(
|
||||
display,
|
||||
race_state.contest_name,
|
||||
format_countdown(remaining)
|
||||
),
|
||||
{ level = vim.log.levels.INFO, override = true }
|
||||
)
|
||||
|
||||
local timer = vim.uv.new_timer()
|
||||
race_state.timer = timer
|
||||
timer:start(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue