Help me write my first Snippets using Luasnip

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
  • nvim-lspconfig

    Quickstart configs for Nvim LSP

  • Hello everyone. I am new to Lua and I have configured LSP in Neovim. it works fine using nvim-cmp. I am having a hard time creating my own snippets using luasnip. The docs mention that I should just add my snippets to a table

  • LuaSnip

    Snippet Engine for Neovim written in Lua.

  • Luasnip

  • 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.

    WorkOS logo
  • cmp_luasnip

    luasnip completion source for nvim-cmp

  • cmp_luasnip

  • friendly-snippets

    Set of preconfigured snippets for different languages.

  • Also keep in mind that you can always start from a library of snippets like friendly-snippets. Just add the line require("luasnip/loaders/from_vscode").lazy_load(), preferably after your own snippets

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