add another event for luasnip to watch

This commit is contained in:
2024-11-19 13:24:42 -06:00
parent c727e80e39
commit 35ebc9841c

View File

@ -13,7 +13,9 @@ return { 'L3MON4D3/LuaSnip',
luasnip.config.set_config {
history = true, -- return back into snippet
updateevents = { "TextChanged", "TextChangedI" }, -- update on text insert
-- update on text insert and cursor hold
updateevents = { "TextChanged", "TextChangedI", "CursorHold" },
ext_opts = {
[types.choiceNode] = {
active = {