ionide / ionide-vscode-fsharp

VS Code plugin for F# development
http://ionide.io
MIT License
850 stars 276 forks source link

Syntax highlighting missing for `let struct` #1937

Open MangelMaxime opened 9 months ago

MangelMaxime commented 9 months ago

Describe the bug

I feel like let struct (x0, y0) should be highlighted the same as the line above.

Link to sample reproduction

let origin = struct (0,0)
let (struct (x0,y0)) = origin

Screenshots

CleanShot 2023-09-28 at 20 01 44

It looks like both the grammar and tokens highlighting needs to be fixed on this one.

Machine info

jkillingsworth commented 9 months ago

See my comment here:

https://github.com/ionide/ionide-fsgrammar/issues/199#issuecomment-1739651074

MangelMaxime commented 9 months ago

You are correct, it should use the keywoard color, I updated my initial message.

MangelMaxime commented 8 months ago

The grammar has been updated.

What left is the tokens highlighting in FSAC