No description
Find a file
2025-09-12 09:22:04 -05:00
.github/workflows fix ci 2025-09-12 00:27:02 -05:00
after stylua no special config; 2025-09-11 23:59:02 -05:00
lua/cp format 2025-09-12 09:22:04 -05:00
plugin stylua no special config; 2025-09-11 23:59:02 -05:00
templates more updates 2025-09-12 09:16:01 -05:00
.gitignore initial commit 2025-09-11 23:52:32 -05:00
.python-version initial commit 2025-09-11 23:52:32 -05:00
pyproject.toml initial commit 2025-09-11 23:52:32 -05:00
readme.md feat: window mgmt 2025-09-12 09:21:49 -05:00
selene.toml fix ci 2025-09-12 00:13:50 -05:00
uv.lock initial commit 2025-09-11 23:52:32 -05:00
vim.toml fix ci 2025-09-12 00:13:50 -05:00

cp.nvim

neovim plugin for competitive programming.

NOTE: sample test data from codeforces is scraped via cloudscraper. Use at your own risk.

Features

  • 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
  • LuaSnip integration for contest-specific snippets

Requirements

  • Neovim 0.10.0+
  • uv: problem scraping (optional)
  • LuaSnip: contest-specific snippets (optional)

Installation

Using lazy.nvim:

{
    "barrett-ruth/cp.nvim",
    cmd = "CP",
    dependencies = {
        "L3MON4D3/LuaSnip",
    }
}

Documentation

:help cp.nvim

TODO

  • vimdocs
  • example video
  • more flexible setup (more of a question of philosophy)
  • USACO support