github L3MON4D3/LuaSnip v2.4.1

one day ago

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 🙏), 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 :)
  • 10092a5 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)
  • 21e9fec 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
  • 831a130 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 ❤️

Full Changelog: v2.4.0...v2.5.0

Don't miss a new LuaSnip release

NewReleases is sending notifications on new releases.