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

Support constants #447

Closed alxtz closed 7 years ago

alxtz commented 7 years ago

In the official language-javascript package, variables declared with const or in all caps would mark the syntax--constant class Much syntax themes support this syntax--constant class, I think it would be awesome to have this added ( or give some advice about how I can contribute to this )

gandm commented 7 years ago

In the first example language-babel does this image

In the second case the problem lies with having multiple coma separated vars. language-javascript breaks like this. image This issue has been raised before. See here