We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When a multi-line array contains an empty line, automatic indentation of the element after the newline is wrong (press tab on the baz line):
tab
baz
<?php return [ 'foo' => 'bar', 'baz' => 'bat' ];
The baz line should be indented by 4 spaces and not 8.
This problem appears in the following styles (C-c .):
C-c .
Problem does not appear in:
Related: #726 php-mode 20241024.1241 emacs 28.2
The text was updated successfully, but these errors were encountered:
Fix array alignment issue when an empty line is present
4aa8e56
Fixed #793
0a33fc0
@cweiske Thank you for reporting this issue. I believe it's already resolved in #801.
Sorry, something went wrong.
I've updated to php-mode 20250109.2103, but the problem still occurs. I don't know if the fix should be in this version.
20250109.2103
Successfully merging a pull request may close this issue.
When a multi-line array contains an empty line, automatic indentation of the element after the newline is wrong (press
tab
on thebaz
line):The
baz
line should be indented by 4 spaces and not 8.This problem appears in the following styles (
C-c .
):Problem does not appear in:
Related: #726
php-mode 20241024.1241
emacs 28.2
The text was updated successfully, but these errors were encountered: