Download Latest Version v2.4.1 source code.tar.gz (395.4 kB)
Email in envelope

Get an email when there's a new version of LuaSnip

Home / v2.4.1
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-11-03 1.7 kB
v2.4.1 source code.tar.gz 2025-11-03 395.4 kB
v2.4.1 source code.zip 2025-11-03 474.4 kB
Totals: 3 Items   871.5 kB 1

This is a relatively minor release, and it is made now because I intend to have a release immediately before merging [#1137], which contains many changes to LuaSnip's internals. This release contains an important performance-improvement, improvements to the Makefile (courtesy of, as usual, @xudyang1, and newly, @GR3YH4TT3R93 :pray:), and an update to the bundled jsregexp, which is now supported up to version 0.1.0.

Minor Improvements

  • [#1345] documents a strategy for getting good lua-language-server support for snippet-files. I highly recommend setting this up if much of your time is spent editing snippets :)
  • [10092a] updates the jsregexp included in luasnip (via git-submodule) to 0.1.0 (we still support all versions that were ever shipped with luasnip, so there's no pressing need to rebuild it)
  • [21e9fe] drastically reduces runtime of match_snippet, which, if autosnippets are enabled, is called on every keystroke. The credit here goes to @Bekaboo, who investigated this in [#1393]
  • [831a13] makes the vscode-loader respect the scope-directive only when called via load_standalone. This could cause missing snippets if a snippet-collection relied on this (as I understand it) non-standard behaviour.

New Contributors

A big Thank You to all old and new contributors :heart:

Full Changelog: https://github.com/L3MON4D3/LuaSnip/compare/v2.4.0...v2.5.0

Source: README.md, updated 2025-11-03