Overview of Sniprun features and capabilities
masterSniprun is a Neovim plugin (written in Lua and Rust) designed for fast, partial code testing. It blurs the line between a standard editor, a Jupyter-like notebook, and a REPL.
Key Capabilities:
- Language Support: Supports a wide range of compiled and interpreted languages. It can even run virtually any language via generic interpreters.
- REPL-like Behavior: For supported languages (like Python, Julia, Lua, JS/TS via deno, Rust via evcxr, etc.), you can run code that depends on previously executed snippets, maintaining state like a REPL.
- Result Display Modes: Results can be shown via multiple modes, which can be enabled simultaneously:
- Classic: Standard output display.
- Virtual Text/Virtual Line: Inline display in the buffer.
- Temporary Floating Window: A pop-up window for results.
- Terminal: Running output in a terminal buffer.
- Notification: Using
nvim-notifystyle popups.
- Advanced Execution: Supports running GUI plots, network requests, Ansible playbooks, and even 'live mode' (executing on every keystroke).
- Literate Programming: Supports Markdown, Orgmode, and Neorg.