Last Updated on March 27, 2023 by mishou

I. Sniprun

Sniprun is a code runner plugin for neovim written in Lua and Rust. It aims to provide stupidly fast partial code testing for interpreted and compiledlanguages. Sniprun blurs the line between standard save/run workflow, jupyter-like notebook, and REPL/interpreters.

https://github.com/michaelb/sniprun

II. Installing Sniprun

use({
  "michaelb/sniprun",
  run = "bash ./install.sh",
  config = function()
    require("sniprun").setup({
      display = {
        "Terminal",
      },
    })
  end,
})

See: Neovim 101— Interactive Code Runner

III. Usage

run code with sniprun

By mishou

Leave a Reply

Your email address will not be published. Required fields are marked *