1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 05:20:04 +08:00
SpaceVim/bundle/nvim-treesitter/queries/toml/highlights.scm

37 lines
607 B
Scheme

; Properties
;-----------
(bare_key) @type
(quoted_key) @string
(pair (bare_key)) @property
; Literals
;---------
(boolean) @boolean
(comment) @comment @spell
(string) @string
(integer) @number
(float) @float
(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