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:
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
- @polirritmico made their first contribution in #1135
- @znd4 made their first contribution in #1149
Full Changelog: v2.2.0...v2.3.0
And, as always, a big Thank You to all new and recurring contributors ❤️