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,55 +1,81 @@
(comment) @comment @spell
(filter_identifier) @function.call
(function_identifier) @function.call
(test) @function.builtin
(variable) @variable
(string) @string
(interpolated_string) @string
(operator) @operator
(number) @number
(boolean) @boolean
(null) @constant.builtin
(keyword) @keyword
(attribute) @attribute
(tag) @tag
(conditional) @keyword.conditional
(repeat) @keyword.repeat
(method) @function.method
(parameter) @variable.parameter
[
"{{"
"}}"
"{{-"
"-}}"
"{{~"
"~}}"
"{%"
"%}"
"{%-"
"-%}"
"{%~"
"~%}"
"{{"
"}}"
"{{-"
"-}}"
"{{~"
"~}}"
"{%"
"%}"
"{%-"
"-%}"
"{%~"
"~%}"
] @tag.delimiter
[
","
"."
","
"."
] @punctuation.delimiter
[
"?"
":"
"="
"|"
"?"
":"
"="
"|"
] @operator
(interpolated_string ["#{" "}"] @punctuation.special)
(interpolated_string
[
"#{"
"}"
] @punctuation.special)
[
"(" ")"
"[" "]"
"("
")"
"["
"]"
] @punctuation.bracket
(hash ["{" "}"] @punctuation.bracket)
(hash
[
"{"
"}"
] @punctuation.bracket)

View file

@ -1,4 +1,3 @@
((content) @injection.content
(#set! injection.language "html")
(#set! injection.combined))
(#set! injection.language "html")
(#set! injection.combined))