2021-04-09 10:42:49 +02:00
|
|
|
; Properties
|
|
|
|
;-----------
|
|
|
|
|
2021-11-03 04:00:52 +01:00
|
|
|
(bare_key) @variable.other.member
|
2021-04-09 10:42:49 +02:00
|
|
|
(quoted_key) @string
|
|
|
|
|
|
|
|
; Literals
|
|
|
|
;---------
|
|
|
|
|
2021-11-03 04:00:52 +01:00
|
|
|
(boolean) @constant.builtin.boolean
|
2021-04-09 10:42:49 +02:00
|
|
|
(comment) @comment
|
|
|
|
(string) @string
|
2021-11-03 04:00:52 +01:00
|
|
|
(integer) @constant.numeric.integer
|
|
|
|
(float) @constant.numeric.float
|
2021-04-09 10:42:49 +02:00
|
|
|
(offset_date_time) @string.special
|
|
|
|
(local_date_time) @string.special
|
|
|
|
(local_date) @string.special
|
|
|
|
(local_time) @string.special
|
|
|
|
|
|
|
|
; Punctuation
|
|
|
|
;------------
|
|
|
|
|
|
|
|
"." @punctuation.delimiter
|
|
|
|
"," @punctuation.delimiter
|
|
|
|
|
|
|
|
"=" @operator
|
|
|
|
|
|
|
|
"[" @punctuation.bracket
|
|
|
|
"]" @punctuation.bracket
|
|
|
|
"[[" @punctuation.bracket
|
|
|
|
"]]" @punctuation.bracket
|
|
|
|
"{" @punctuation.bracket
|
|
|
|
"}" @punctuation.bracket
|