fix docs and superfluous vim.validate calls

This commit is contained in:
Barrett Ruth 2025-09-30 20:55:29 -04:00
parent b5b2c770fc
commit 46cd509747
6 changed files with 12 additions and 102 deletions

View file

@ -108,7 +108,6 @@ function M.get_contests_for_platform(platform)
})
end
cache.set_contest_list(platform, contests)
logger.log(('loaded %d contests'):format(#contests))
return contests
end

View file

@ -47,7 +47,7 @@ local function contest_picker(opts, platform)
end
end)
map('i', '<C-r>', function()
map('i', '<c-r>', function()
local cache = require('cp.cache')
cache.clear_contest_list(platform)
actions.close(prompt_bufnr)