Closed hrsh7th closed 3 years ago
Related https://github.com/hrsh7th/vim-vsnip/issues/160
Currently, completion-nvim expands snippet with vsnip#expand. This will re-detect snippet with prefix.
vsnip#expand
prefix
But if multiple items have the same prefix, it could be wrong behavior.
So I provide snippet_body as user_data and snippet expansion with vsnip#anonymous.
snippet_body
vsnip#anonymous
Thanks for the fix! Always appreciate your help:)
Thank you!
Related https://github.com/hrsh7th/vim-vsnip/issues/160
Currently, completion-nvim expands snippet with
vsnip#expand
. This will re-detect snippet withprefix
.But if multiple items have the same prefix, it could be wrong behavior.
So I provide
snippet_body
as user_data and snippet expansion withvsnip#anonymous
.