Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Cook.nvim – an extensible code runner for Neovim
1 point by notcalc 3 hours ago | hide | past | favorite | discuss
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.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: