ultisnips VS LuaSnip

Compare ultisnips vs LuaSnip and see what are their differences.

ultisnips

UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips! (by SirVer)

LuaSnip

Snippet Engine for Neovim written in Lua. (by L3MON4D3)
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
ultisnips LuaSnip
65 80
7,616 3,866
0.2% 2.5%
4.9 8.9
3 months ago 8 days ago
Python Lua
GNU General Public License v3.0 only Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

ultisnips

Posts with mentions or reviews of ultisnips. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-11-15.
  • C++ Template Macroprogramming versus Lisp Macros
    6 projects | news.ycombinator.com | 15 Nov 2024
    Let’s say, you’re writing a web application. In most programming language you’d be using libraries or rely on a framework. With Lisp macros, you can program the archetype of a web application. And then use a simpler language to describe you application. Think of it as programmable snippets. Something like Ultisnips [0], but inherent to the language.

    [0]: https://github.com/SirVer/ultisnips

  • LaTeX and Neovim for technical note-taking
    10 projects | news.ycombinator.com | 21 Feb 2024
    I always like people's LaTeX-based note taking setups. I'm a mathematician, so I write a lot of LaTeX too. (And I use vim, so I really like vim+Latex workflows).

    It's interesting that this post (or rather, the later post that discusses this) talks about the advantages of UltiSnips. The well-known vim-LaTeX posts written by Gilles Castel (RIP) relied pivotally on UltiSnips.

    It's not just that UltiSnips is a snippet engine. There are many of those (including LuaSnip, the other snippet engine mentioned in the OP series of articles). It's that UltiSnips can dispatch arbitrary expressions to short python code sections, and python has a great scientific library. For example, it's trivial to write a `sympy` snippet that will simplify or compute a given expression and write the output in latex for you.

    But UltiSnips works *terribly* with neovim [1] [2]. Why? Because UltiSnips uses python, and neovim's python interface is 100x slower than vim's python interface. There are design decisions for this and I'm not trying to say that neovim is bad. I use both vim and neovim. But I use vim+UltiSnips+vimtex for writing LaTeX.

    LuaSnip has interpolation too. I suppose it would be possible to write more code that calls from LuaSnip to a system like sympy (or other). But that's work. On the other hand, I think it takes a true power user to actually want or use the fancy interpolation functions.

    [1]: https://github.com/SirVer/ultisnips/issues/974

  • Looking for tutorials / Hello world projects to create Neovim plugins using Pynvim
    4 projects | /r/neovim | 10 Dec 2023
    I think in-the-wild examples like Ultisnips deoplete semshi (although they are advanced and somewhat complex) would also be good examples to learn how one can use python for writing plugins.
  • UltiSnips – Snippet Solution for Vim
    3 projects | news.ycombinator.com | 16 Aug 2023
  • lsp-zero v2.x is now available
    4 projects | /r/neovim | 23 Apr 2023
    I didn't know lsp-zero, but this integration seems just for me except for that I am using UltiSnips instead of luasnip. Just curious how difficult do you think it is to add UltiSnips integration along with cmp-nvim-ultisnips?
  • Minimalistic neovim/vim with batteries included ?
    4 projects | /r/neovim | 18 Apr 2023
  • How to solve this? (Ultisnippets plugin)
    1 project | /r/vim | 15 Mar 2023
  • Awkwardness when typing in '\n' or '\t' or (...) [...] etc. -- (Have others noticed this too?) -- (is there a better way?)
    4 projects | /r/vim | 17 Feb 2023
    If you use UltiSnips, you can just do this:
  • Vim + LaTeX
    4 projects | /r/vim | 11 Feb 2023
    Snipets or code completion can be done in a number of different ways, and how that is configured will depend on what method you use. In the blog he uses the vim plugin ultisnips. You'll find details on configuration for that in that link.
  • Python36.dll not found
    2 projects | /r/vim | 6 Jan 2023
    Heyo, I've been trying to get UltiSnips and YouCompleteMe to work, however, I've ran into a bit of a problem. The python36.dll library does not seem to exist for UltiSnips, and YouCompleteMe cannot locate python at all (screenshots at bottom).

LuaSnip

Posts with mentions or reviews of LuaSnip. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-05-05.
  • Nix Flake Templates
    9 projects | dev.to | 5 May 2025
    On the other hand, I also tried simpler solutions such as gists or snippets (1, 2) which I can use as starting points for my projects despite being not convenient for re-use and pretty much unmaintainable due to lack of clear structure.
  • Setting Up Neovim for Automad Theme Development
    4 projects | dev.to | 26 Mar 2025
    As the developer of the Automad flat-file content management system, I wanted to make working with Automad themes in Neovim as smooth as possible. Automad has its own templating syntax, so I created tree-sitter-automad to provide proper syntax highlighting. Since it’s not yet an official parser, you need to manually register it in Neovim. To speed up template writing, you can also add custom snippets using LuaSnip. Here's how to set everything up.
  • Ultimate Neovim Setup Guide: lazy.nvim Plugin Manager
    25 projects | dev.to | 24 Jun 2024
    L3MON4D3/LuaSnip: Snippet Engine for Neovim written in Lua.
  • UltiSnips – Snippet Solution for Vim
    3 projects | news.ycombinator.com | 16 Aug 2023
    If you're using Neovim, check out LuaSnip: https://github.com/L3MON4D3/LuaSnip
  • What is your preferred snippet plug-in?
    1 project | /r/neovim | 14 Aug 2023
    I’ve been using LuaSnip and never put much thought into it. And this was mainly because of because it seemed like the default and had good LSP integration. The one downside is that creating custom snippets is not that ergonomic, but I don’t mind it if it’s the price to pay for speed.
  • HTML and Css snippets
    2 projects | /r/neovim | 3 Jul 2023
    You can use LuaSnip and load snippets from VSCode. The documentation is pretty complete, but here is my config in case you want another reference.
  • Enabling python's snippets.
    4 projects | /r/neovim | 1 Jul 2023
    I am trying to add snippets for python, i have LuaSnip and friendly-snippets installed, but for some reason it does not load the snippets. This is how i load the plugins:
  • [Help] Paste triggers in Select mode
    1 project | /r/neovim | 24 Jun 2023
    There was a similar issue in LuaSnip repo. The culprit was a keymap in the config. Do you happen to have a similar keymap somewhere in your config?
  • My Haskell snippet collection for Neovim - with tree-sitter and LSP
    2 projects | /r/haskell | 27 May 2023
    I have decided to extract my Haskell snippets for LuaSnip into a plugin: haskell-snippets.nvim.
  • How do I use template files via Lua?
    3 projects | /r/neovim | 13 May 2023
    Not exactly what you're talking about but you could look into LuaSnip?

What are some alternatives?

When comparing ultisnips and LuaSnip you can also consider the following projects:

vim-vsnip - Snippet plugin for vim/nvim that supports LSP/VSCode's snippet format.

friendly-snippets - Set of preconfigured snippets for different languages.

emmet-vim - emmet for vim: http://emmet.io/

nvim-snippy - Snippet plugin for Neovim written in Lua

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you know that Python is
the 2nd most popular programming language
based on number of references?