Description
I was testing with my standard console.log snippet:
snippet l
console.log('${VISUAL}$1:'${2:, ${VISUAL}$1});
When "fancy" snippets like this are being used, interactions are poor with the cmp menu.
Steps to Reproduce
l to type l. the snippet shows in cmp list
<tab> to move cmp selection down to l snippet
<cr> to expand the l snippet. snippy interaction starts here.
ab loads up cmp completion list filled with ab... entries
<tab> move the selection down to the first of the ab... entries
Typically at this point, cmp selection causes the first result to fill into buffer, e.g. abcd. This does happen, and snippy picks it up! Which is great. What happens to cmp's currently-open completion menu, however, isn't great.
Expected Result
Expect cmp's completion list not to be clobbered
Actual Result
cmp's completion list gets clobbered at this point. it was listing the full list of ab... symbols but once the complex snippet expansion happens in response to cmp filling the current tabstop, the completion list now only shows this only one that matches
Additional Context
No response
Description
I was testing with my standard console.log snippet:
When "fancy" snippets like this are being used, interactions are poor with the cmp menu.
Steps to Reproduce
lto type l. the snippet shows in cmp list<tab>to move cmp selection down tolsnippet<cr>to expand thelsnippet. snippy interaction starts here.abloads up cmp completion list filled withab...entries<tab>move the selection down to the first of theab...entriesTypically at this point, cmp selection causes the first result to fill into buffer, e.g.
abcd. This does happen, and snippy picks it up! Which is great. What happens to cmp's currently-open completion menu, however, isn't great.Expected Result
Expect cmp's completion list not to be clobbered
Actual Result
cmp's completion list gets clobbered at this point. it was listing the full list of
ab...symbols but once the complex snippet expansion happens in response to cmp filling the current tabstop, the completion list now only shows this only one that matchesAdditional Context
No response