13 lines
238 B
Lua
13 lines
238 B
Lua
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"
|
|
}
|