From 5d909faf53dc1d2c144f8b443af471f77b545161 Mon Sep 17 00:00:00 2001 From: Uzair Aftab <48220549+Uzaaft@users.noreply.github.com> Date: Sun, 9 Apr 2023 14:54:17 +0200 Subject: [PATCH] feat(code-runner): Add sniprun (#132) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Kai Löhnert --- lua/astrocommunity/code-runner/sniprun/README.md | 5 +++++ lua/astrocommunity/code-runner/sniprun/sniprun.lua | 9 +++++++++ 2 files changed, 14 insertions(+) create mode 100644 lua/astrocommunity/code-runner/sniprun/README.md create mode 100644 lua/astrocommunity/code-runner/sniprun/sniprun.lua diff --git a/lua/astrocommunity/code-runner/sniprun/README.md b/lua/astrocommunity/code-runner/sniprun/README.md new file mode 100644 index 000000000..08110aa35 --- /dev/null +++ b/lua/astrocommunity/code-runner/sniprun/README.md @@ -0,0 +1,5 @@ +# Sniprun + +**Repository**: + +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 compiled languages. Sniprun blurs the line between standard save/run workflow, jupyter-like notebook, and REPL/interpreters. diff --git a/lua/astrocommunity/code-runner/sniprun/sniprun.lua b/lua/astrocommunity/code-runner/sniprun/sniprun.lua new file mode 100644 index 000000000..8ba4256eb --- /dev/null +++ b/lua/astrocommunity/code-runner/sniprun/sniprun.lua @@ -0,0 +1,9 @@ +return { + { + "michaelb/sniprun", + keys = {}, + opts = {}, + build = "bash ./install.sh 1", + cmd = "SnipRun", + }, +}