feat: atcoder scraper update for :CP test
This commit is contained in:
parent
0fb247f18b
commit
c99cf8d4f0
5 changed files with 104 additions and 29 deletions
|
|
@ -45,10 +45,10 @@ end, {
|
|||
|
||||
if num_args == 2 then
|
||||
local candidates = { "--lang" }
|
||||
vim.list_extend(candidates, actions)
|
||||
local cp = require("cp")
|
||||
local context = cp.get_current_context()
|
||||
if context.platform and context.contest_id then
|
||||
vim.list_extend(candidates, actions)
|
||||
local cache = require("cp.cache")
|
||||
cache.load()
|
||||
local contest_data = cache.get_contest_data(context.platform, context.contest_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue