Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support in-word expansion #170

Open
cbarrete opened this issue Feb 10, 2021 · 2 comments
Open

Support in-word expansion #170

cbarrete opened this issue Feb 10, 2021 · 2 comments

Comments

@cbarrete
Copy link

UltiSnips supports that (link to doc), which is very convenient in some cases.

For example in LaTeX, fooref can get expanded to foo~ref{}, which is very nice since I don't want to have a space in-between.
I've tried to hack around that by having a "body": "\<BS>~\\ref{$1}", but that's not supported.

Admittedly, this is quite a niche feature, so I'd understand if you didn't want to add this to vsnip.

@hrsh7th
Copy link
Owner

hrsh7th commented Feb 11, 2021

It is good candidate as first implementation to support vsnip key in snippet definition, I think.

@hrsh7th
Copy link
Owner

hrsh7th commented Feb 11, 2021

#136
#155

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants