Jorenar / miniSnip

Lightweight snippet plugin for Vim
MIT License
53 stars 8 forks source link

Space after expansion #9

Closed andreasKroepelin closed 4 years ago

andreasKroepelin commented 4 years ago

Hi, first of all, thanks for letting me get rid of UltiSnips.

I have found the following issue: Whenever I expand a snippet, a space is inserted after the expansion. This is especially annoying as it constantly produces trailing white space.

Is this a known thing? If so, how can I avoid it?

Thanks!

Jorenar commented 4 years ago

If I understand correctly, you have snippet foo, which expands to foobar. If you have foo|abc (where | symbolizes cursor) and expand it, the the result is foobar abc instead of foobarabc?

andreasKroepelin commented 4 years ago

Wow, thanks for your commitment! It works flawlessly now.