summaryrefslogtreecommitdiffstats
path: root/after/plugin/luasnip.lua
blob: 1374bc3b2a47dfce3761af24779a2039ef8e3085 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
local status_ok, luasnip = pcall(require, "luasnip")
if not status_ok then
	return
end

luasnip.config.set_config {
  -- return back into snippet
  history = true,

  -- update on text insert
  updateevents = "TextChanged,TextChangedI"
}