Skip to content

v2.3.0

Latest
Compare
Choose a tag to compare
@L3MON4D3 L3MON4D3 released this 16 Apr 18:34
· 9 commits to master since this release

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

Full Changelog: v2.2.0...v2.3.0

And, as always, a big Thank You to all new and recurring contributors ❤️