mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 10:50:06 -04:00
chore: query formatting
This commit is contained in:
parent
79975d6557
commit
57a8acf0c4
674 changed files with 18466 additions and 12648 deletions
|
|
@ -1,34 +1,48 @@
|
|||
; Properties
|
||||
;-----------
|
||||
|
||||
(bare_key) @type
|
||||
|
||||
(quoted_key) @string
|
||||
(pair (bare_key)) @property
|
||||
|
||||
(pair
|
||||
(bare_key)) @property
|
||||
|
||||
; Literals
|
||||
;---------
|
||||
|
||||
(boolean) @boolean
|
||||
|
||||
(comment) @comment @spell
|
||||
|
||||
(string) @string
|
||||
|
||||
(integer) @number
|
||||
|
||||
(float) @number.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
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
(#set! injection.language "comment"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue