Discussion

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

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.

1 points notcalc 9 months ago 0 comments

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton