mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
improve highlights for wgsl (add operators and lower priority variable)
This commit is contained in:
parent
3bbae7b32e
commit
4c3f1e28d2
1 changed files with 9 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
(identifier) @variable
|
||||
((identifier) @variable (#set! priority 99))
|
||||
|
||||
(int_literal) @number
|
||||
|
||||
|
|
@ -116,6 +116,14 @@
|
|||
"@"
|
||||
"++"
|
||||
"--"
|
||||
"+="
|
||||
"-="
|
||||
"*="
|
||||
"/="
|
||||
"%="
|
||||
"&="
|
||||
"|="
|
||||
"^="
|
||||
] @operator
|
||||
|
||||
(attribute
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue