sourcegraph / sourcegraph-public-snapshot

Code AI platform with Code Search & Cody
https://sourcegraph.com
Other
10.12k stars 1.29k forks source link

Contextual keywords being highlighted incorrectly for C# (tree-sitter) #32081

Open varungandhi-src opened 2 years ago

varungandhi-src commented 2 years ago

They should be highlighted as keywords when used as keywords.

However, it looks like var and dynamic (which are contextual keywords) are being highlighted with a lighter blue shade, and not a darker blue shade unlike other keywords.

C# syntax highlighting screenshot

Screenshot from https://sourcegraph.com/github.com/radzenhq/radzen-blazor/-/blob/Radzen.Blazor.Tests/DataGridTests.cs?L36

github-actions[bot] commented 2 years ago

Heads up @macraig - the "team/code-intelligence" label was applied to this issue.