improve highlights for wgsl (add operators and lower priority variable)

This commit is contained in:
Ben Barber 2025-11-24 14:38:23 -05:00
parent 3bbae7b32e
commit 4c3f1e28d2

View file

@ -1,4 +1,4 @@
(identifier) @variable
((identifier) @variable (#set! priority 99))
(int_literal) @number
@ -116,6 +116,14 @@
"@"
"++"
"--"
"+="
"-="
"*="
"/="
"%="
"&="
"|="
"^="
] @operator
(attribute