refactor(latex): improve queries (#2457)

This commit is contained in:
Christian Clason 2022-02-05 16:09:35 +01:00 committed by GitHub
parent c999f9aa13
commit 8e780a4c9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 177 additions and 326 deletions

View file

@ -13,3 +13,10 @@
language: (curly_group_text
(text) @language))
(source_code) @content)
((generic_environment
(begin
name: (curly_group_text
(text) @_env))) @c
(#any-of? @_env "asy" "asydef"))