Share your most advanced (Lua)Snippets

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • ultisnips

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

    I'm a long time Ultisnips user. Basically because I think it was always the most powerful snippet engine. Its snippets can be incredible complex using Python for scripting, but also many in-built features .

  • LuaSnip

    Snippet Engine for Neovim written in Lua.

    Now, with LuaSnip, there is a "new" player in the game of powerful snippet engines. It is around there for a while now and I assume it can be called stable. Things that make a switch interesting for me are for example the better editor integration with Lua and access to Treesitter or similar advanced features. However some things I can easily do with Ultisnips is not so easy in LuaSnip but very important to me (though I'm kinda sure now I can achieve the same with a little more work). Despite that I struggle with the documentation of the plugin.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • config.nvim

    My neovim configuration - entirely in Lua using modern plugins (native LSP, treesitter, telescope, etc.)

    The first is a collection of snippets for C++ that generate the declarations or definitions of the special member functions (move constructor etc.). The snippet uses treesitter to determine whether we are currently inside of a class or not. If we are inside of a class, it automatically gets the correct name of the surrounding class (without templates) and uses that to generate the member function. If we are outside of a class, you have to type in the name but it will still correctly strip templates in the right places with a simple regex. Showcase. Code.

  • listish.nvim

    Neovim plugin for quickfix and local lists

    I am thinking of creating a separate project just for these snippets and let user selectively activate the ones they want like how I've done in this project. What do you think?

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts