Closed loqusion closed 2 years ago
why was this closed? I'm still seeing it as a problem :(
Oops, I don't remember why I closed it.
Only looked into this briefly, but adding a semi-colon after install()
fixes the issue. I'll continue to investigate when I can.
In short, this is a pretty difficult issue to debug. I believe it was introduced in https://github.com/michaelgmcd/vscode-language-babel/pull/56. Handling flow-type arguments has added quite a bit of complexity to function and method calls.
Try this out in 0.0.35 and let me know if this still exists.
Describe the issue If a line of JavaScript within a
script
tag in HTML doesn't end in a semicolon, it sometimes breaks the syntax highlighting for the rest of the file.Screenshot of Current Behavior
Sample Code to Reproduce