teal-language / vscode-teal

Teal language support for Visual Studio Code
MIT License
76 stars 11 forks source link

syntax highlighting ends when a type is forward declared #54

Closed CoolingTool closed 1 year ago

CoolingTool commented 1 year ago

version 0.8.3

image image

pdesaulniers commented 1 year ago

Yes, the grammar does not currently support forward declaration for types. I think it is trying to match an '=' character, but it cannot find one, so the syntax highlighting breaks.

I have attempted a fix. I just need to publish a new release.

pdesaulniers commented 1 year ago

This issue should be fixed in v0.8.4. Feel free to reopen this issue if you can still reproduce.