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,8 +1,8 @@
([
(block_comment)
(line_comment)
] @injection.content
(#set! injection.language "comment"))
] @injection.content
(#set! injection.language "comment"))
((block_comment) @injection.content
(#lua-match? @injection.content "/[*][!<*][^a-zA-Z]")
@ -10,7 +10,11 @@
((method_invocation
name: (identifier) @_method
arguments: (argument_list
. (string_literal . (_) @injection.content)))
(#any-of? @_method "format" "printf")
(#set! injection.language "printf"))
arguments:
(argument_list
.
(string_literal
.
(_) @injection.content)))
(#any-of? @_method "format" "printf")
(#set! injection.language "printf"))