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,20 +1,15 @@
; Preproc
(control_key) @keyword.directive
; Namespace
(namespace) @module
; Includes
[
"use"
] @keyword.import
"use" @keyword.import
; Builtins
(primitive) @type.builtin
[
"enum"
"intEnum"
@ -24,35 +19,35 @@
] @type.builtin
; Fields (Members)
; (field) @variable.member
(key_identifier) @variable.member
(shape_member
(field) @variable.member)
(operation_field) @variable.member
(operation_error_field) @variable.member
; Constants
(enum_member
(enum_field) @constant)
; Types
(identifier) @type
(structure_resource
(shape_id) @type)
; Attributes
(mixins
(shape_id) @attribute)
(trait_statement
(shape_id (#set! "priority" 105)) @attribute)
(shape_id
(#set! "priority" 105)) @attribute)
; Operators
[
"@"
"-"
@ -61,7 +56,6 @@
] @operator
; Keywords
[
"namespace"
"service"
@ -76,8 +70,8 @@
] @keyword
; Literals
(string) @string
(escape_sequence) @string.escape
(number) @number
@ -89,17 +83,25 @@
(null) @constant.builtin
; Misc
[
"$"
"#"
] @punctuation.special
["{" "}"] @punctuation.bracket
[
"{"
"}"
] @punctuation.bracket
["(" ")"] @punctuation.bracket
[
"("
")"
] @punctuation.bracket
["[" "]"] @punctuation.bracket
[
"["
"]"
] @punctuation.bracket
[
":"
@ -107,7 +109,6 @@
] @punctuation.delimiter
; Comments
(comment) @comment @spell
(documentation_comment) @comment.documentation @spell