mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
latex: capture math env contents
This commit is contained in:
parent
1b06c671cf
commit
db0e519291
1 changed files with 3 additions and 1 deletions
|
|
@ -105,7 +105,6 @@
|
|||
[
|
||||
(displayed_equation)
|
||||
(inline_formula)
|
||||
(math_set)
|
||||
] @text.math
|
||||
|
||||
(math_environment
|
||||
|
|
@ -113,6 +112,9 @@
|
|||
command: _ @text.math
|
||||
name: (curly_group_text (text) @text.math)))
|
||||
|
||||
(math_environment
|
||||
(text) @text.math)
|
||||
|
||||
(math_environment
|
||||
(end
|
||||
command: _ @text.math
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue