top | item 46743660

Show HN: Cook.nvim – an extensible code runner for Neovim

1 points| notcalc | 1 month ago

Hi HN,

I built cook.nvim, a Neovim plugin to run or compile the current file in a terminal, based purely on file extension and config.

Instead of baking language support into the plugin, runners are just shell command templates with placeholders ({file}, {exe}, {dir}, etc.), so it works with almost any language or toolchain without plugin changes.

It also supports project-local recipes.lua for things like :Cook build, :Cook test, or custom workflows, plus a small :Coop mode that pipes clipboard input into your program (useful for competitive programming).

Repo: https://github.com/07CalC/cook.nvim

Feedback welcome.

discuss

order

No comments yet.