Kungsgeten / yankpad

Paste snippets from an org-mode file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Regression: using yankpad-expand on a keyword at beginning of file does not expand!

ag91 opened this issue · comments

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!

Hey @ag91, I also realized #81 was failing to fix the issue in every case, I pushed a new commit to fix the issue. Can you check it again?

Yeah, your bol change works for me. Thanks for the time you put into this, I will use your version until this gets merged

Fixed by #81, thanks!