feat(jsonnet): add "for" & "function", update operator highlights

`expr` -> `operator` doesn't exist in the node tree anymore after
505f5bd900
This commit is contained in:
Hoang Nguyen 2023-06-08 14:13:26 +00:00 committed by GitHub
parent 2883a9cf86
commit 71bb1da621
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,13 +30,33 @@
":::"
] @punctuation.delimiter
(expr
operator: (_) @operator)
(unaryop) @operator
[
"+"
"-"
"*"
"/"
"%"
"^"
"=="
"!="
"<="
">="
"<"
">"
"="
"&"
"|"
"<<"
">>"
"&&"
"||"
] @operator
"for" @repeat
"function" @keyword.function
"in" @keyword.operator
[