fix: open problem-specific url

This commit is contained in:
Barrett Ruth 2025-10-15 11:00:31 -04:00
parent 7f9f60af5b
commit 352f98f26f
6 changed files with 7 additions and 5 deletions

View file

@ -84,7 +84,7 @@ function M.setup_contest(platform, contest_id, problem_id, language)
start_tests(platform, contest_id, problems)
if config_module.get_config().open_url and is_new_contest and contest_data.url then
vim.ui.open(contest_data.url)
vim.ui.open(contest_data.url:format(pid))
end
end