mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 04:40:08 -04:00
refactor(latex): improve queries (#2457)
This commit is contained in:
parent
c999f9aa13
commit
8e780a4c9d
2 changed files with 177 additions and 326 deletions
|
|
@ -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"))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue