cp.nvim/lua
Barrett Ruth 4f307e323d
fix(config): avoid doubling slug in default_filename for single-problem mode
Problem: Kattis single-problem mode sets both `contest_id` and
`problem_id` to the same slug, causing `default_filename` to
concatenate them (e.g. `addtwonumbersaddtwonumbers.cc`).

Solution: only concatenate when `problem_id ~= contest_id`; otherwise
return just `problem_id` (or `contest_id` if nil).
2026-03-07 02:32:52 -05:00
..
cp fix(config): avoid doubling slug in default_filename for single-problem mode 2026-03-07 02:32:52 -05:00