1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 09:30:04 +08:00
SpaceVim/bundle/nvim-treesitter/queries/latex/injections.scm
2022-04-14 12:01:23 +08:00

23 lines
370 B
Scheme

[
(line_comment)
(block_comment)
(comment_environment)
] @comment
(pycode_environment
code: (source_code) @python
)
(minted_environment
(begin
language: (curly_group_text
(text) @language))
(source_code) @content)
((generic_environment
(begin
name: (curly_group_text
(text) @_env))) @c
(#any-of? @_env "asy" "asydef"))