From 8eaa615596be321a3be12378c5e7d65cc7e482b6 Mon Sep 17 00:00:00 2001 From: Squibid Date: Fri, 24 Jan 2025 13:56:11 -0600 Subject: kitchen sink --- lua/conf/plugins/luasnip.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lua/conf/plugins/luasnip.lua') diff --git a/lua/conf/plugins/luasnip.lua b/lua/conf/plugins/luasnip.lua index 055fb02..d881a57 100644 --- a/lua/conf/plugins/luasnip.lua +++ b/lua/conf/plugins/luasnip.lua @@ -13,6 +13,7 @@ return { 'L3MON4D3/LuaSnip', luasnip.config.set_config { history = true, -- return back into snippet + enable_autosnippets = true, -- update on text insert and cursor hold updateevents = { "TextChanged", "TextChangedI", "CursorHold" }, @@ -26,8 +27,8 @@ return { 'L3MON4D3/LuaSnip', active = { virt_text = {{ "●", "@constant" }} } - }, - }, + } + } } map({"i", "s"}, "", function() -- cgit v1.2.1