subtleGradient/language-javascript-jsx

"let" keyword color scheme

Opened this issue · 3 comments

The keyword "let" isn't considered as a keyword such as var, so the color scheme isn't the same as for "var"
capture

Same issue here.

I think this could be fixed by pulling the latest language-javascript csons, and adding the JSX support on top of that.

The fix is pretty easy to do, under literal-keywords in the javascript-cson and change the lines to this below. :)

    'match': '\\b(boolean|byte|char|class|const|double|enum|float|function|int|interface|let|long|short|var|void)\\b'

    'match': '\\b(export|extends|final|implements|native|private|protected|public|static|synchronized|throws|transient|volatile)\\b'