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

@ -286,11 +286,6 @@ end
---@param problem_id? string
---@return string
local function default_filename(contest_id, problem_id)
vim.validate({
contest_id = { contest_id, 'string' },
problem_id = { problem_id, { 'string', 'nil' }, true },
})
if problem_id then
return (contest_id .. problem_id):lower()
else