feat(latex)!: update parser and queries

Breaking change: `label_definition`, `label_text` patterns
This commit is contained in:
Christian Clason
2025-07-05 14:47:35 +02:00
committed by Christian Clason
parent 80281c19fd
commit 0d32ec3c3e
2 changed files with 3 additions and 3 deletions

View File

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

View File

@@ -87,7 +87,7 @@
(label_definition
command: _ @function.macro
name: (curly_group_text
name: (curly_group_label
(_) @markup.link @nospell))
(label_reference_range
@@ -99,7 +99,7 @@
(label_reference
command: _ @function.macro
names: (curly_group_text_list
names: (curly_group_label_list
(_) @markup.link))
(label_number