From 01a09f243ce07d367c539d69d4a7f4541ab1dcd7 Mon Sep 17 00:00:00 2001 From: Squibid Date: Sun, 30 Apr 2023 18:41:13 -0400 Subject: new config old version is now on v1 branch --- after/plugin/luasnip.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 after/plugin/luasnip.lua (limited to 'after/plugin/luasnip.lua') 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" +} -- cgit v1.2.1