forked from Mirrors/helix
feat(languages): jsonnet (#3714)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>change-detection
parent
16ce036bdf
commit
5ab85283e9
@ -0,0 +1,38 @@
|
||||
["if" "then" "else"] @keyword.control.conditional
|
||||
[
|
||||
(local)
|
||||
"function"
|
||||
] @keyword
|
||||
(comment) @comment
|
||||
|
||||
(string) @string
|
||||
(number) @constant.numeric
|
||||
[
|
||||
(true)
|
||||
(false)
|
||||
] @constant.builtin.boolean
|
||||
|
||||
(binaryop) @operator
|
||||
(unaryop) @operator
|
||||
|
||||
(param identifier: (id) @variable.parameter)
|
||||
(bind function: (id) @function)
|
||||
(fieldname (id) @variable.other.member)
|
||||
[
|
||||
"["
|
||||
"]"
|
||||
"{"
|
||||
"}"
|
||||
] @punctuation.bracket
|
||||
"for" @keyword.control.repeat
|
||||
"in" @keyword.operator
|
||||
[(self) (dollar)] @variable.builtin
|
||||
"assert" @keyword
|
||||
(null) @constant.builtin
|
||||
[
|
||||
":"
|
||||
"::"
|
||||
";"
|
||||
"="
|
||||
] @punctuation.delimiter
|
||||
(id) @variable
|
Loading…
Reference in New Issue