PolyMeilex/vscode-wgsl

Red arrow points

alxdb opened this issue · 3 comments

alxdb commented

For some reason, the points of arrows in function returns are red...

image

Seems to be an issue in most colour schemes, except where the entire arrow is red (e.g. vscode default monokai scheme).

Seems not to be an issue when I use SpaceMono, maybe something to do with the ligatures.

Screenshot 2023-06-24 at 21 57 30

For me it appears as gray arrow point in GitHub dark theme, but anyway the problem is the same – arrow is not recognized as one token and colored uniformly.

alxdb commented

This is still occurring for me. Here's a screenshot of me running the extension directly (via Extension Development Host) and viewing the test.wgsl file with the default theme:

image

After inspecting the offending brackets with Developer Tools, it seems as though they are having the unexpected-closing-bracket css class applied to them.

Will investigate to see if I can prevent vscode from considering these as unclosed brackets, any advice would be appreciated.

Screenshot 2023-07-11 at 9 34 49 AM

Yep, I've got the same problem as well in the Solarized Dark theme