# L3MON4D3/LuaSnip

Snippet Engine for Neovim written in Lua.

Repository: https://github.com/L3MON4D3/LuaSnip
Canonical: https://ross.abutalabs.com/products/luasnip
Language: Lua
License: Apache-2.0
License Family: permissive
Topics: neovim, snippets, snippet-engine, lua
Last push: 2026-05-19T20:58:22+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 83, release rhythm 54, longevity 100
- inputs: {"age_days": 1993, "days_push": 106, "days_rel": 150, "gap_med": 165.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4420, forks 266 (observed 2026-08-28T04:08:48.761676+00:00)

## What it is
LuaSnip is a snippet engine for Neovim written in Lua, supporting tabstops, dynamic and regex-triggered snippets, and LSP/VSCode/SnipMate snippet formats. It integrates with completion plugins like nvim-cmp and uses Treesitter for filetype resolution.

## Use cases
- expand code snippets in neovim
- load vscode snippets in neovim
- write dynamic snippets with lua functions
- use lsp-style snippets with nvim-cmp
- define filetype-specific snippets
- create autotriggered and postfix snippets

## When to choose
- you use Neovim >= 0.9 and want a fast, highly configurable snippet engine
- you need to reuse existing VSCode or SnipMate snippet collections
- you want advanced snippet features like dynamic nodes, choices, and regex triggers

## When to avoid
- you use an editor other than Neovim
- you want snippets fully defined without any Lua for advanced features
- you cannot install a C compiler for optional jsregexp transformations on Windows

## Facets
- artifact type: plugin
- maturity: active
- function: developer-tools, editor
- domain: text-editors, developer-tools
- platform: windows, editor-plugin
- tags: neovim, snippets, snippet-engine, lua, lsp-snippets, vscode-snippets, treesitter, linux, macos

## Member repositories
- L3MON4D3/LuaSnip (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:48.761676+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:20:59.128553+00:00, confidence not recorded.
  - readme: https://github.com/L3MON4D3/LuaSnip (fetched 2026-08-28T04:08:48.761676+00:00, sha 50a7e055f002)
- Data as of 2026-08-30T08:39:29.467469+00:00.
