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

function().function()() is highlighted incorrectly #38

Closed filiptdz closed 1 year ago

filiptdz commented 5 years ago

Expected: image

Obtained: image

(It also breaks highlighting in the rest of the file)

valscion commented 5 years ago

So the key difference is that the keys are rendered red and not yellow/green?

filiptdz commented 5 years ago

@valscion Not really, most highlighting afterwards is broken.

image

In this case, it changes export from blue to red, italicises the props and makes the closing JSX bracket red as well. You can see the correct highlighting here:

image