elken / yasnippet-capf

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

feat: use simpler :exit-function #8

Closed LuigiPiucco closed 1 year ago

LuigiPiucco commented 1 year ago

This avoids having to manually lookup the cand as a snippet. Yasnippet already does this based on point if you use yas-expand. We know what's before point (the completed candidate) and Yasnippet may even do the lookup more efficiently than we can.

elken commented 1 year ago

Thanks for these!