hrsh7th / cmp-vsnip

nvim-cmp source for vim-vsnip
MIT License
92 stars 5 forks source link

"Tab" behavior changed #6

Open ZwodahS opened 1 year ago

ZwodahS commented 1 year ago

After the commit 18ff44c the behavior when I press tab changes from expanding the string to the full snippet prefix to now expanding to the first line in the snippet's body.

I am trying to understand the intention behind that change, so that I can modify my workflow or perhaps change my snippet to work with this change.

The way I am using is to first expand to the full "name" of the snippet first and have another mapping to expand it to the full body. Perhaps the change is trying to do both at once but I can't find a way to set my snippet in such a way that it works.

Figuera commented 9 months ago

No update on this? I am having this problem for months but only now discovering to true source of the problem. Had to downgrade the plugin, the behavior defeats the purpose of having the vsnip on cmp.

GZLiew commented 4 months ago

wow I was on a old version of cmp-vsnip until I realized this.