-
Notifications
You must be signed in to change notification settings - Fork 93
Airbnb guidelines for auto-closing tag sequence alignment break indentation #149
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
I don't really know vim script, but something along these lines might make things better in this scenario:
Obviously, one needs to be aware of |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Airbnb guidelines for alignment of React auto-closing tags (https://github.com/airbnb/javascript/tree/master/react#alignment) breaks indentation, as in the following example
while this one works fine:
This seems to happen only in cases when there is an empty line between the auto-closing tag sequence and the next tag, so this seems to work fine:
The text was updated successfully, but these errors were encountered: