saem / vscode-nim

Other
180 stars 23 forks source link

Syntax highlighting broken when `fmt` is used as a function #122

Open tanelso2 opened 1 year ago

tanelso2 commented 1 year ago

I'm using fmt as a function and using < and > in my format strings.

However, syntax highlighting does not work correctly in that case (image attached)

image

saem commented 1 year ago

Thanks for taking the time to raise the issue, @tanelso2. I unfortunately really don't know the syntax highlight bits of VS Code and used the existing grammar, so it's unlikely I'll find enough time to figure it out and debug this issue, but someone else might. You're also welcome to give it a shot.