add another event for luasnip to watch
This commit is contained in:
parent
c727e80e39
commit
35ebc9841c
1 changed files with 3 additions and 1 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue