Skip to content

Commit

Permalink
apply suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
matoous committed Sep 7, 2022
1 parent 309b30b commit efbbb09
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions runtime/queries/jsonnet/highlights.scm
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
["if" "then" "else"] @keyword.control.conditional
["if" "then" "else"] @conditional
[
(local)
"function"
] @keyword
(comment) @comment

(string) @string
(number) @constant.numeric
(number) @number
[
(true)
(false)
] @constant.builtin.boolean
] @boolean

(binaryop) @operator
(unaryop) @operator

(id) @variable
(param identifier: (id) @variable.parameter)
(bind function: (id) @function)
(fieldname) @string.special
Expand All @@ -25,3 +24,15 @@
"{"
"}"
] @punctuation.bracket
"for" @keyword.control.repeat
"in" @keyword.operator
[(self) (dollar)] @variable.builtin
"assert" @keyword
(null) @constant.builtin
[
":"
"::"
";"
"="
] @punctuation.delimiter
(id) @variable

0 comments on commit efbbb09

Please sign in to comment.