michaelgmcd / vscode-language-babel

VSCode syntax highlighting for today's JavaScript
https://marketplace.visualstudio.com/items?itemName=mgmcdermott.vscode-language-babel
MIT License
131 stars 17 forks source link

Change the scopeName of javascriptreact to "source.js" #31

Closed madiodio closed 6 years ago

madiodio commented 6 years ago

Because of 74258ca the scopeName source.js.jsx doesn't exist anymore so to make #30 work we need to map the javascriptreact grammar to source.js.

Also, added the extension .js to the language identifier so it can work with js files that have Javascript React as the language id. too.

michaelgmcd commented 6 years ago

Good catch!

madiodio commented 6 years ago

Thanks for the prompt reaction!