gandm / language-babel

ES2017, flow, React JSX and GraphQL grammar and transpilation for ATOM
https://atom.io/packages/language-babel
MIT License
476 stars 83 forks source link

Key names in object literals share same color as strings #466

Closed kunokdev closed 6 years ago

kunokdev commented 6 years ago

I am not sure if this is by design but I personally like how default JavaScript highlight uses different color for key names than strings, while language-babel package uses same color for both:

image

Any workaround to make behave like JavaScript highlighter?

gandm commented 6 years ago

By design but you can use any color you need. See here for how https://github.com/gandm/language-babel/issues/463#issuecomment-353128987

kunokdev commented 6 years ago

Thanks and sorry for duplicate issue.