mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 20:00:07 -04:00
chore: query formatting
This commit is contained in:
parent
79975d6557
commit
57a8acf0c4
674 changed files with 18466 additions and 12648 deletions
|
|
@ -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"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue