Download Latest Version v2.4.0 source code.tar.gz (336.5 kB)
Email in envelope

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

Home / v2.3.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2024-04-16 1.0 kB
v2.3.0 source code.tar.gz 2024-04-16 320.5 kB
v2.3.0 source code.zip 2024-04-16 393.7 kB
Totals: 3 Items   715.3 kB 0

2.3.0

Highlights

Easier event-callbacks (#1092)

Before this change, event-callbacks for some node had to be defined in the snippet/snippetNode that contained it. Since that is cumbersome, it's now possible to define them in the node-opts:

:::lua
s("qwer", {t'  ', i(1, "asdf", {node_callbacks = {[events.enter] = function()
    print("enter!!!")
end}})})

Healthcheck (#1149)

LuaSnip now checks if jsregexp is in working order when :checkhealth is performed. Try it, but keep in mind that jsregexp is fully optional, and not necessarily required.

New Contributors

Full Changelog: https://github.com/L3MON4D3/LuaSnip/compare/v2.2.0...v2.3.0

And, as always, a big Thank You to all new and recurring contributors :heart:

Source: README.md, updated 2024-04-16