From 0425922671f4625f5a5e18b75003f5ebdbbb3cc0 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Fri, 6 Mar 2026 16:10:09 -0500 Subject: [PATCH] feat(commands): add tab completion for `:CP open` --- plugin/cp.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin/cp.lua b/plugin/cp.lua index 3e3b56c..9c1abaf 100644 --- a/plugin/cp.lua +++ b/plugin/cp.lua @@ -112,6 +112,8 @@ end, { local candidates = { 'stop' } vim.list_extend(candidates, platforms) return filter_candidates(candidates) + elseif args[2] == 'open' then + return filter_candidates({ 'problem', 'contest', 'standings' }) elseif args[2] == 'next' or args[2] == 'prev' or args[2] == 'pick' then return filter_candidates({ '--lang' }) else