mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 08:50:11 -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)
|
(displayed_equation)
|
||||||
(inline_formula)
|
(inline_formula)
|
||||||
(math_set)
|
|
||||||
] @text.math
|
] @text.math
|
||||||
|
|
||||||
(math_environment
|
(math_environment
|
||||||
|
|
@ -113,6 +112,9 @@
|
||||||
command: _ @text.math
|
command: _ @text.math
|
||||||
name: (curly_group_text (text) @text.math)))
|
name: (curly_group_text (text) @text.math)))
|
||||||
|
|
||||||
|
(math_environment
|
||||||
|
(text) @text.math)
|
||||||
|
|
||||||
(math_environment
|
(math_environment
|
||||||
(end
|
(end
|
||||||
command: _ @text.math
|
command: _ @text.math
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue