some cleanups

This commit is contained in:
Barrett Ruth 2025-09-12 00:00:52 -05:00
parent 0636757839
commit 355405e149
3 changed files with 4 additions and 7 deletions

View file

@ -1,13 +1,10 @@
local M = {}
M.defaults = {
template_dir = nil,
contests = {
atcoder = { cpp_version = 23 },
codeforces = { cpp_version = 23 },
cses = { cpp_version = 20 },
icpc = { cpp_version = 20 },
usaco = { cpp_version = 17 },
},
snippets = {},
}

View file

@ -46,7 +46,7 @@ local function setup_python_env()
return true
end
local competition_types = { "atcoder", "codeforces", "cses", "icpc" }
local competition_types = { "atcoder", "codeforces", "cses", }
local function setup_contest(contest_type)
if not vim.tbl_contains(competition_types, contest_type) then

View file

@ -1,10 +1,10 @@
# cp.nvim
A Neovim plugin for competitive programming.
neovim plugin for competitive programming.
## Features
- Support for multiple online judges (AtCoder, Codeforces, CSES, ICPC)
- Support for multiple online judges (AtCoder, Codeforces, CSES)
- Automatic problem scraping and test case management
- Integrated build, run, and debug commands
- Diff mode for comparing output with expected results
@ -13,7 +13,7 @@ A Neovim plugin for competitive programming.
## Requirements
- Neovim 0.9+
- `make` and a C++ compiler
- `make`
- (Optional) [uv](https://docs.astral.sh/uv/) for problem scraping
- (Optional) [LuaSnip](https://github.com/L3MON4D3/LuaSnip) for snippets