mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -04:00
Update toml highlight queries
This commit is contained in:
parent
fc1c31a393
commit
ecd9efd486
1 changed files with 28 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue