Skip to content
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

Wrong es6/es7 decorators indent #70

Open
stigmat4j opened this issue Nov 29, 2015 · 4 comments
Open

Wrong es6/es7 decorators indent #70

stigmat4j opened this issue Nov 29, 2015 · 4 comments

Comments

@stigmat4j
Copy link

Before
Image

After
Image

@mxw
Copy link
Owner

mxw commented Nov 29, 2015

@stigmat4j—Are you sure this isn't an issue with this short lambda syntax? (Is that what the (x) => (y)) thing is?) What happens when you replace @connect(...) with, e.g., {...}?

@stigmat4j
Copy link
Author

@mxw, so... my code is working.
reduxjs/react-redux#1

@mxw
Copy link
Owner

mxw commented Nov 29, 2015

Er, by "issue with the short lambda syntax", I meant, "an issue with vim-jsx re: short lambda syntax".

In other words, are you sure the issue you're seeing with JSX indentation has anything to do with decorators? Are you sure it's not just short lambdas?

@mxw
Copy link
Owner

mxw commented Feb 1, 2016

@stigmat4j—Sorry for the delay. Today's a "fix bugs in my vim projects" day; could you re-post your code and/or images?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants