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

Missing syntax highlighting for nested object destructuring inside function params #285

Closed
silverlight513 opened this issue Oct 5, 2016 · 2 comments

Comments

@silverlight513
Copy link

I've got a function that is passed the prop location (I'm using redux) and inside that I need to get a query value so I've destructured the object like so:
image
The first variable that gets created is highlighted but the second is not and neither is the default value.

@borela
Copy link

borela commented Oct 7, 2016

Hi, I am writing a new package to try to account for all the specifics of the javascript syntax https://github.com/borela/naomi could try it and see if it solves your problem? The syntax is FJSX15 and right now I only have one color scheme capable of differentiating things like destructuring vs object literals, any help creating new color schemes, reporting bugs, etc is appreciated.

@zertosh
Copy link
Member

zertosh commented Nov 28, 2016

See "re-rewrite babel-sublime" #293.

@zertosh zertosh closed this as completed Nov 28, 2016
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

3 participants