mirror of https://github.com/lapce/lapce.git
update toml queries
This commit is contained in:
parent
d9094d926c
commit
980b025886
|
@ -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
|
Loading…
Reference in New Issue