How to emulate UltiSnips (expand if exact same label as snippet) #1664
Unanswered
ilan-schemoul
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Feature Description
Hi,
I want same behaviour as supertab + UltiSnips if my snippets is foo:
I type fo => it does not expand snippet. It opens menu
I type foo=>it expand immediately
I see that you have a section about supertab in keymaps but it works different.
I type fo=>it expands
In API I can
get_selected_item
to get the label of the snippet. But I don't see the API to get the currently text typed by User. I need it to check if it's the exact same as the snippet labelBeta Was this translation helpful? Give feedback.
All reactions