Skip to content

Can I use snippet just to trigger vim command ? #917

Answered by L3MON4D3
aca asked this question in Q&A
Discussion options

You must be logged in to vote

TBH, I don't think this is a good idea, we assume that the buffer is not modified while inserting a snippet.
It might work if the functionNode returns a "" (ie the snippet does not insert any text), but please don't count on it.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by aca
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants