update toml queries

This commit is contained in:
Dongdong Zhou 2023-10-28 07:43:00 +01:00
parent d9094d926c
commit 980b025886
1 changed files with 6 additions and 21 deletions

View File

@ -1,32 +1,17 @@
; Properties
;-----------
(table [
(bare_key)
(dotted_key)
(quoted_key)
] @type)
(table_array_element [
(bare_key)
(dotted_key)
(quoted_key)
] @type)
(pair [
(bare_key)
(dotted_key)
(quoted_key)
] @variable.other.member)
(bare_key) @property
(quoted_key) @string
; Literals
;---------
(boolean) @constant.builtin.boolean
(boolean) @constant.builtin
(comment) @comment
(string) @string
(integer) @constant.numeric.integer
(float) @constant.numeric.float
(integer) @number
(float) @number
(offset_date_time) @string.special
(local_date_time) @string.special
(local_date) @string.special
@ -45,4 +30,4 @@
"[[" @punctuation.bracket
"]]" @punctuation.bracket
"{" @punctuation.bracket
"}" @punctuation.bracket
"}" @punctuation.bracket