fix(latex)!: update label_{reference_range,number}

In accordance with latex-lsp/tree-sitter-latex#213, this updates the
node types for label_reference_range and label_number nodes to use the
curly_group_label nodes.
This commit is contained in:
Thibault de Villèle 2025-07-21 15:08:31 +02:00
parent 8c8742871a
commit 45dd407b7a

View file

@ -92,9 +92,9 @@
(label_reference_range
command: _ @function.macro
from: (curly_group_text
from: (curly_group_label
(_) @markup.link)
to: (curly_group_text
to: (curly_group_label
(_) @markup.link))
(label_reference
@ -104,7 +104,7 @@
(label_number
command: _ @function.macro
name: (curly_group_text
name: (curly_group_label
(_) @markup.link)
number: (_) @markup.link)