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

@ -2,34 +2,32 @@
(line_comment)
(block_comment)
(comment_environment)
] @injection.content
(#set! injection.language "comment"))
] @injection.content
(#set! injection.language "comment"))
(pycode_environment
code:
(source_code) @injection.content
code: (source_code) @injection.content
(#set! injection.language "python"))
(sagesilent_environment
code:
(source_code) @injection.content
code: (source_code) @injection.content
(#set! injection.language "python"))
(sageblock_environment
code:
(source_code) @injection.content
code: (source_code) @injection.content
(#set! injection.language "python"))
(minted_environment
(begin
language: (curly_group_text
(text) @injection.language))
language:
(curly_group_text
(text) @injection.language))
(source_code) @injection.content)
((generic_environment
(begin
name: (curly_group_text
(text) @_env))) @injection.content
(#set! injection.language "c")
(#any-of? @_env "asy" "asydef"))
name:
(curly_group_text
(text) @_env))) @injection.content
(#set! injection.language "c")
(#any-of? @_env "asy" "asydef"))