Update toml highlight queries

This commit is contained in:
oxalica 2021-10-04 02:08:19 +08:00 committed by Stephan Seitz
parent fc1c31a393
commit ecd9efd486

View file

@ -1,12 +1,35 @@
(bare_key) @type.builtin
; Properties
;-----------
(pair
(bare_key) @property)
(bare_key) @property
(quoted_key) @string
; Literals
;---------
(boolean) @boolean
(comment) @comment
(string) @string
(boolean) @constant.builtin
(integer) @number
(float) @float
(comment) @comment
(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
(ERROR) @error