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,16 +1,21 @@
(match key: _ @keyword)
(match
key: _ @keyword)
(assignment key: _ @property)
(assignment
key: _ @property)
(value) @string
; NOTE: higher priorities override bash highlights
((fmt_sub
.
_ @character.special)
(#set! "priority" 101))
((fmt_sub . _ @character.special)
(#set! "priority" 101))
((var_sub . _ @variable.builtin)
(#set! "priority" 101))
((var_sub
.
_ @variable.builtin)
(#set! "priority" 101))
[
(system_const)
@ -21,21 +26,24 @@
] @attribute
((attribute) @attribute
(#set! "priority" 101))
(#set! "priority" 101))
((env_var) @constant
(#set! "priority" 101))
(#set! "priority" 101))
((pattern) @string.special
(#set! "priority" 101))
(#set! "priority" 101))
([ "\\\"" (c_escape) ] @string.escape
(#set! "priority" 101))
([
"\\\""
(c_escape)
] @string.escape
(#set! "priority" 101))
(octal) @number
((number) @number
(#set! "priority" 101))
(#set! "priority" 101))
[
(match_op)
@ -43,11 +51,17 @@
] @operator
("+" @punctuation.special
(#set! "priority" 101))
(#set! "priority" 101))
([ "{" "}" ] @punctuation.bracket
(#set! "priority" 101))
([
"{"
"}"
] @punctuation.bracket
(#set! "priority" 101))
[ "," (linebreak) ] @punctuation.delimiter
[
","
(linebreak)
] @punctuation.delimiter
(comment) @comment @spell