diff --git a/lua/cp/config.lua b/lua/cp/config.lua index 5907f03..3fcf4d1 100644 --- a/lua/cp/config.lua +++ b/lua/cp/config.lua @@ -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 = {}, } diff --git a/lua/cp/init.lua b/lua/cp/init.lua index 967cc75..ccd7465 100644 --- a/lua/cp/init.lua +++ b/lua/cp/init.lua @@ -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 diff --git a/readme.md b/readme.md index a21dae6..90c37bd 100644 --- a/readme.md +++ b/readme.md @@ -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