elken / yasnippet-capf

Completion-At-Point Extension for YASnippet
GNU General Public License v3.0
40 stars 9 forks source link

Fix lookup by name when name != key #25

Closed zauberen closed 1 month ago

zauberen commented 2 months ago

Fix for issue #24

zauberen commented 2 months ago

Not sure if there's a better way to get the begin/end of the snippet name, I'm not too familiar with elisp.

zauberen commented 1 month ago

Figure I should mention, I cleaned up the code I was referring to in my prior comment and rebased my changes, messed up the rebase and fixed it with another. Should be good to go now 😅.