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

@ -0,0 +1 @@

View file

@ -1,26 +1,23 @@
; Sections
(section_name) @type
((section_name) @keyword.import
(#eq? @keyword.import "include"))
(#eq? @keyword.import "include"))
((section_header
(section_name) @keyword.import
(subsection_name))
(#eq? @keyword.import "includeIf"))
(section_name) @keyword.import
(subsection_name))
(#eq? @keyword.import "includeIf"))
(variable (name) @property)
(variable
(name) @property)
; Operators
[
"="
] @operator
"=" @operator
; Literals
(integer) @number
[
(true)
(false)
@ -29,10 +26,10 @@
(string) @string
((string) @string.special.path
(#lua-match? @string.special.path "^[.]?[/]"))
(#lua-match? @string.special.path "^[.]?[/]"))
((string) @string.special.path
(#lua-match? @string.special.path "^[~]"))
(#lua-match? @string.special.path "^[~]"))
(section_header
[
@ -41,9 +38,10 @@
] @string.special)
; Punctuation
[ "[" "]" ] @punctuation.bracket
[
"["
"]"
] @punctuation.bracket
; Comments
(comment) @comment @spell