-
Notifications
You must be signed in to change notification settings - Fork 119
Chained method calls aren't indented #19
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
Comments
This requires restoring a setting in the major mode definition:
I've pushed the fix: 47b371f |
Thanks both for the bug report and the fix guys. |
Hello guys cascaded calls are still not indented properly when not in the global scope, e.g.:
|
Thanks for the bug report. I fixed the issue and put the patch into |
It does, but it apparently it also does break font locking. I have to issue |
emacs-php#29, emacs-php#42 This massively cuts back on the elisp code needed.
Is it possible to indent the following:
to this:
|
That should work if you are using the styles (i.e. |
I am using a
|
Thanks for the test output. I will try to figure out the problem. |
Is this still a problem? I cannot reproduce with v1.21 |
I'm closing it because it looks like there is no problem today. |
Chained method calls are not aligned to the first object operator in php-mode 1.6.6 and Emacs 24.2.
Indenting a region such as
produces the same result as previous version of php-mode
The text was updated successfully, but these errors were encountered: