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
Avoid to indent snippets having setup (yas-indent-line 'fixed)
#838
Avoid to indent snippets having setup (yas-indent-line 'fixed)
#838
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you put the yas--letenv outside of the mapc please? And use straight quotes in the commit message, it's not markdown.
Otherwise looks good to me, thanks.
I'm not sure what you mean by putting Sorry for the quotes. Does something like that will agree you ?
|
Oops! I was talking nonsense.
Yup, that's fine. Have you done copyright assignment for Emacs? (the change is small enough to install regardless). |
Yes I've done my copyright agreement (for TRAMP and Emacs I think). |
Avoid `yas--auto-fill' call to `yas--update-mirrors' without setting the snippet environment. * yasnippet.el (yas--auto-fill): Reinstate snippet environment before calling `yas--update-mirrors'.
Thanks, merged. (I put the |
I added the #' to quiet the byte compiler:
|
Yes, quoting with |
Ok, I've just asked for my information :-) |
Avoid
yas--auto-fill
callyas--update-mirrors
without setting the snippet environment.When an snippet like the one bellow is expanded and that auto-fill-mode is activated, the snippet is re-indented when you press space in a field replacement.
when expanded:
with the patch:
yas--update-mirrors
.