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,9 +1,9 @@
[
(normal_command)
(if_condition)
(if_command)
(else_command)
(elseif_command)
(foreach_command)
(list)
(normal_command)
(if_condition)
(if_command)
(else_command)
(elseif_command)
(foreach_command)
(list)
] @fold

View file

@ -1,5 +1,7 @@
(comment) @comment @spell
(number) @number
(bool) @boolean
(identifier) @variable
@ -40,7 +42,10 @@
] @operator
(ternaryoperator
["?" ":"] @keyword.conditional.ternary)
[
"?"
":"
] @keyword.conditional.ternary)
[
"if"
@ -62,15 +67,11 @@
(normal_command
command: (identifier) @function)
(pair
key: (identifier) @property)
(escape_sequence) @string.escape
((identifier) @variable.builtin
(#any-of? @variable.builtin
"meson"
"host_machine"
"build_machine"
"target_machine"
))
(#any-of? @variable.builtin "meson" "host_machine" "build_machine" "target_machine"))

View file

@ -1,2 +1,2 @@
((comment) @injection.content
(#set! injection.language "comment"))
(#set! injection.language "comment"))