helix-mirror/runtime/queries/toml/highlights.scm

34 lines
625 B
Scheme
Raw Normal View History

2021-04-09 12:42:49 +04:00
; Properties
;-----------
(bare_key) @variable.other.member
2021-04-09 12:42:49 +04:00
(quoted_key) @string
; Literals
;---------
(boolean) @constant.builtin.boolean
2021-04-09 12:42:49 +04:00
(comment) @comment
(string) @string
(integer) @constant.numeric.integer
(float) @constant.numeric.float
2021-04-09 12:42:49 +04: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