cp.nvim/lua/cp/commands
Barrett Ruth cc279166cb
feat(commands): implement :CP open [problem|contest|standings]
Problem: There was no way to open a problem or contest page in the
browser from within the plugin; users had to manually navigate to
the platform URL.

Solution: Add `contest_url` and `standings_url` to `MetadataResult`
and persist them via `cache.set_contest_data`. Add `cache.get_open_urls`
to assemble all three URLs from cache. Wire up `:CP open` in
`commands/init.lua` to call `vim.ui.open` on the resolved URL,
warning when none is available (e.g. CSES standings).
2026-03-05 19:13:06 -05:00
..
cache.lua fix(submit): use file path over stdin; fix CF CodeMirror textarea (#305) 2026-03-05 14:34:14 -05:00
init.lua feat(commands): implement :CP open [problem|contest|standings] 2026-03-05 19:13:06 -05:00
picker.lua fix(submit): use file path over stdin; fix CF CodeMirror textarea (#305) 2026-03-05 14:34:14 -05:00