Broken syntax highlighting in WGSL #3982
Labels
A-tree-sitter
Area: Tree-sitter
C-bug
Category: This is a bug
E-easy
Call for participation: Experience needed to fix: Easy / not much
Summary
WGSL code currently generates enormous amounts of erroneous error highlights.
I suspect this may be because of the recent changes to the WGSL syntax. The version of tree-sitter-wgsl that the latest release of Helix uses had been updated to reflect the changes, but Helix's WGSL grammar hasn't been updated since months before the changes were introduced. Also WGSL code written with the old syntax is still highlighted as it was when wgsl support was first added (#1166).
I think it's worth noting that WGSL syntax highlighting has always been incomplete, but it was at least usable.
Reproduction Steps
No response
Helix log
No response
Platform
Windows
Terminal Emulator
PowerShell
Helix Version
helix 22.08.1 (66276ce)
The text was updated successfully, but these errors were encountered: