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-serversupport for snippet-files. I highly recommend setting this up if much of your time is spent editing snippets :) - 10092a5 updates the
jsregexpincluded in luasnip (via git-submodule) to0.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 viaload_standalone. This could cause missing snippets if a snippet-collection relied on this (as I understand it) non-standard behaviour.
New Contributors
- @MariaSolOs made their first contribution in #1348
- @GR3YH4TT3R93 made their first contribution in #1383
- @derekthecool made their first contribution in #1395
A big Thank You to all old and new contributors ❤️
Full Changelog: v2.4.0...v2.5.0