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 = { latex = {
install_info = { install_info = {
generate = true, generate = true,
revision = '73c9b8992f72203386092ffd2a05f2dcba02d2cb', revision = '9410012b3eba659da5de5a655b4041593b493cb7',
url = 'https://github.com/latex-lsp/tree-sitter-latex', url = 'https://github.com/latex-lsp/tree-sitter-latex',
}, },
maintainers = { '@theHamsta', '@clason' }, maintainers = { '@theHamsta', '@clason' },

View file

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