feat(latex)!: update parser and queries

Breaking change: `(curly_group_label)` replaced by `(curly_group_text)`

see latex-lsp/tree-sitter-latex#213
This commit is contained in:
Thibault de Villèle
2025-09-05 10:46:07 +02:00
committed by Christian Clason
parent 317a77affc
commit 1b8622a830
2 changed files with 4 additions and 4 deletions

View File

@@ -1240,7 +1240,7 @@ return {
latex = {
install_info = {
generate = true,
revision = '9410012b3eba659da5de5a655b4041593b493cb7',
revision = '7af2bf3addcab5ada8843cf08b857daf1799dbd4',
url = 'https://github.com/latex-lsp/tree-sitter-latex',
},
maintainers = { '@theHamsta', '@clason' },

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)