diff options
Diffstat (limited to 'after/plugin/luasnip.lua')
-rw-r--r-- | after/plugin/luasnip.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/after/plugin/luasnip.lua b/after/plugin/luasnip.lua new file mode 100644 index 0000000..1374bc3 --- /dev/null +++ b/after/plugin/luasnip.lua @@ -0,0 +1,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" +} |