Regression: using yankpad-expand on a keyword at beginning of file does not expand!
ag91 opened this issue · comments
Andrea commented
Hi, thanks for this package once more!
I have noticed that after the last update I cannot expand snippets at beginning of file anymore.
The bug was definitely introduced after this commit, because I reverted to that and things work again.
Probably #81 is related but does not solve my issue (I tried to use that code).
You should be able to reproduce by simply creating a file, adding the keyword of your snippet and trying to expand it: nothing will happen with the latest version of yankpad!
Thanks again!
İsa Mert Gürbüz commented
Andrea commented
Yeah, your bol
change works for me. Thanks for the time you put into this, I will use your version until this gets merged
Erik Sjöstrand commented
Fixed by #81, thanks!