2021-10-04 02:08:19 +08:00
|
|
|
; Properties
|
|
|
|
|
;-----------
|
2020-07-31 23:59:57 +09:00
|
|
|
|
2021-10-04 02:08:19 +08:00
|
|
|
(bare_key) @property
|
|
|
|
|
(quoted_key) @string
|
2020-07-31 23:59:57 +09:00
|
|
|
|
2021-10-04 02:08:19 +08:00
|
|
|
; Literals
|
|
|
|
|
;---------
|
|
|
|
|
|
|
|
|
|
(boolean) @boolean
|
2022-09-26 10:19:02 +01:00
|
|
|
(comment) @comment @spell
|
2020-07-31 23:59:57 +09:00
|
|
|
(string) @string
|
|
|
|
|
(integer) @number
|
|
|
|
|
(float) @float
|
2021-10-04 02:08:19 +08: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
|
2020-07-31 23:59:57 +09:00
|
|
|
|
|
|
|
|
(ERROR) @error
|