LuaSnip is a snippet engine for Neovim written entirely in Lua.
It supports simple text expansion as well as dynamic snippets that generate or transform content based on user input. Snippets can be written in Lua or loaded from collections using LSP, VS Code, or SnipMate syntax.
This is free and open source software.
Key Features
- Offers tabstops, choices, and nested snippets.
- Creates dynamic snippets based on user input.
- Transforms text using Lua functions.
- Supports conditional snippet expansion.
- Provides regular expression triggers.
- Offers automatically triggered snippets.
- Supports postfix snippets.
- Loads filetype-specific snippets.
- Parses LSP, VS Code, and SnipMate snippets.
- Resolves the filetype at the cursor using Treesitter.
- Maintains snippet history for returning to earlier snippets.
- Integrates with completion engines including nvim-cmp.
Website: github.com/L3MON4D3/LuaSnip
Support:
Developer: L3MON4D3
License: Apache License 2.0
LuaSnip is written in Lua. Learn Lua with our recommended free books and free tutorials.
Related Software
| Snippet Tools | |
|---|---|
| pet | Simple command-line snippet manager |
| YASnippet | Template system for Emacs |
| LuaSnip | Highly configurable completion engine for Neovim editing workflows |
| nap | Code snippets in your terminal |
| Gisto | Code snippet manager |
| massCode | Local-first developer workspace |
| The Way | Code snippets manager written in Rust |
| SnipKit | Fast command-line tool for saving and recalling reusable commands |
| ScriptHaus | Organize scripts and bash one-liners |
| snip | Simple snippet manager for bash |
| Snip | Simple snippet manager for your predefined Ultisnips Snippet Directory |
| SafeScript | Securely store and organise reusable shell commands and scripts |
| boom | Manages your text snippets on the command line |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.