I have a similar problem and I'm not sure it's this extension that's causing it.
For me it looks like this:
If I remove lang="ts" or change it to lang="js" the syntax highlighting is correct.
Going back to an older version of this extension isn't fixing it either, disabling VSCode's bracket pair colorization does...
(I went back to a version from two months ago. The issue is quite recent and was still there with the older versions)
I ran Extension Bisect and this is the result:
So at least for me it's safe to say it's not this extension. @leonardssh Maybe you can run the extension bisect as well. (command palettte -> Help: Start Extension Bisect)
@jb-qian found a temporary solution in the other issue thread for this problem (#1675 ) (we should probably close one of them by the way)
change "begin": "([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['\"]?)ts\\b\\2)", to "begin": "([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['\"]?)\\ts\\b\\2)", or "begin": #"([a-zA-Z0-9:-]+)\\b(?=[^>]*\\blang\\s*=\\s*(['\"]?)ts\\b)\\2",
> & < shouldn't be red.
The text was updated successfully, but these errors were encountered: