mirror of
https://github.com/nvim-treesitter/nvim-treesitter
synced 2024-09-16 14:34:05 +02:00
fix(latex): environment name should be label
Environment names are captured as `@label` in `(begin)` and `(end)` nodes, and so should they be when we are defining environments. Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com>
This commit is contained in:
parent
e0faad4a9e
commit
e265fec94c
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@
|
|||
(environment_definition
|
||||
command: _ @function.macro @nospell
|
||||
name: (curly_group_text
|
||||
(_) @markup.link))
|
||||
(_) @label @nospell))
|
||||
|
||||
(theorem_definition
|
||||
command: _ @function.macro @nospell
|
||||
|
|
Loading…
Reference in a new issue