-
Notifications
You must be signed in to change notification settings - Fork 2
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
Cannot align concatenation #77
Comments
Thanks, interesting case, I'll check if we can modify the AlignEquals rule to consider this case. |
Hi @karchung0930 , while working on this I saw this old test in the package https://github.com/driade/phpfmt8/blob/master/tests/Original/042-align_vars.out It seems that if we go the way of aligning ".=" we'd take into consideration the rest of the operators listed in the test. I've to think if this would be a desired default behaviour for the parser or if I'd create another rule to match these cases. |
Hi @karchung0930 I finally created a new rule. You may check it soon when the repo syncs with SublimeText. The name of the rule is "AlignSuperEquals" |
Let's say I have the following:
It cannot align vertically. The expected result is:
The text was updated successfully, but these errors were encountered: