-
Notifications
You must be signed in to change notification settings - Fork 29
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
Array indentation gets broken #58
Comments
2072
added a commit
that referenced
this issue
Sep 24, 2017
This should be fixed now. |
Yes it is! Thanks. |
2072
added a commit
to 2072/vim
that referenced
this issue
May 18, 2018
Changes since 1.62: - Fix chained multi-line '->' indentation (issue 2072/PHP-Indenting-for-VIm#54 and 2072/PHP-Indenting-for-VIm#59) - Add a new PHP_noArrowMatching option to disable '->' indentation matching on multi-line chained calls (issue 2072/PHP-Indenting-for-VIm#59). - Add support for return type declaration on multi-line function declarations (issue 2072/PHP-Indenting-for-VIm#64) - Fix array indentation when PHP_vintage_case_default_indent is set (issue 2072/PHP-Indenting-for-VIm#58) - Always ignore case when using syntax highlighting names (issue 2072/PHP-Indenting-for-VIm#52) - Functions declared as returning references were not indented properly (issue 2072/PHP-Indenting-for-VIm#62). - Fix to multi-line function declaration argument indentation (issue 2072/PHP-Indenting-for-VIm#63)
2072
added a commit
to 2072/vim
that referenced
this issue
May 18, 2018
Changes since 1.62: - Fix chained multi-line '->' indentation (issue 2072/PHP-Indenting-for-VIm#54 and 2072/PHP-Indenting-for-VIm#59) - Add a new PHP_noArrowMatching option to disable '->' indentation matching on multi-line chained calls (issue 2072/PHP-Indenting-for-VIm#59). - Add support for return type declaration on multi-line function declarations (issue 2072/PHP-Indenting-for-VIm#64) - Fix array indentation when PHP_vintage_case_default_indent is set (issue 2072/PHP-Indenting-for-VIm#58) - Always ignore case when using syntax highlighting names (issue 2072/PHP-Indenting-for-VIm#52) - Functions declared as returning references were not indented properly (issue 2072/PHP-Indenting-for-VIm#62). - Fix to multi-line function declaration argument indentation (issue 2072/PHP-Indenting-for-VIm#63)
2072
added a commit
to 2072/vim
that referenced
this issue
May 18, 2018
Changes since 1.62: - Fix chained multi-line '->' indentation (issue 2072/PHP-Indenting-for-VIm#54 and 2072/PHP-Indenting-for-VIm#59) - Add a new PHP_noArrowMatching option to disable '->' indentation matching on multi-line chained calls (issue 2072/PHP-Indenting-for-VIm#59). - Add support for return type declaration on multi-line function declarations (issue 2072/PHP-Indenting-for-VIm#64) - Fix array indentation when PHP_vintage_case_default_indent is set (issue 2072/PHP-Indenting-for-VIm#58) - Always ignore case when using syntax highlighting names (issue 2072/PHP-Indenting-for-VIm#52) - Functions declared as returning references were not indented properly (issue 2072/PHP-Indenting-for-VIm#62). - Fix to multi-line function declaration argument indentation (issue 2072/PHP-Indenting-for-VIm#63)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I encountered a buggy behavior in array indentation that can be reproducible in following steps:
vim -u NORC
let g:PHP_vintage_case_default_indent = 1
set ft=php
after hitting return, the indentation becomes like this:
This does not happen when
g:PHP_vintage_case_default_indent
is disabled (default).Environment: Vim version 8.0.946
Thank you.
The text was updated successfully, but these errors were encountered: