chore: query formatting

This commit is contained in:
Pham Huy Hoang 2024-01-06 15:05:50 +09:00 committed by Christian Clason
parent 79975d6557
commit 57a8acf0c4
674 changed files with 18466 additions and 12648 deletions

View file

@ -1,5 +1,5 @@
[
(object)
(array)
(assign_block)
(object)
(array)
(assign_block)
] @fold

View file

@ -1,4 +1,5 @@
"let" @keyword
"in" @keyword
[
@ -11,10 +12,15 @@
"." @punctuation.delimiter
(input) @constant
(comment) @comment @spell
(string) @string
(integer) @number
(float) @number.float
(boolean) @boolean
(null) @keyword

View file

@ -1,14 +1,24 @@
[
(assign_block "{")
(object)
(array)
(assign_block
"{")
(object)
(array)
] @indent.begin
(assign_block "}" @indent.branch)
(assign_block "}" @indent.end)
(assign_block
"}" @indent.branch)
(object "}" @indent.branch)
(object "}" @indent.end)
(assign_block
"}" @indent.end)
(array "]" @indent.branch)
(array "]" @indent.end)
(object
"}" @indent.branch)
(object
"}" @indent.end)
(array
"]" @indent.branch)
(array
"]" @indent.end)

View file

@ -1,16 +1,13 @@
; scopes
[
(object)
(array)
] @local.scope
; definitions
(assign_block
(assign_block
(assignment
(input)
@local.definition.constant))
(value (input) @local.reference)
(input) @local.definition.constant))
(value
(input) @local.reference)