diff options
Diffstat (limited to 'lua/conf/plugins/luasnip.lua')
-rw-r--r-- | lua/conf/plugins/luasnip.lua | 5 |
1 files changed, 3 insertions, 2 deletions
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"}, "<c-a>", function() |