coq_nvim icon indicating copy to clipboard operation
coq_nvim copied to clipboard

Snippets with dashes in their names sometimes don't get expanded correctly

Open dkasak opened this issue 3 years ago • 1 comments

Given a snippet like

snippet test-me
    snippet text

And typing test- then selecting

image

and expanding the snippet leaves me with

test-snippet text

as the expansion, which is wrong, because it includes test- which was supposed to get replaced. However, if I type just test and then select and expand, the snippet is replaced correctly.

dkasak avatar Oct 28 '22 13:10 dkasak

Seems it might not be strictly related to dashes. Trying to expand (test also fails.

dkasak avatar Oct 28 '22 13:10 dkasak