aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lua/nvim-treesitter/parsers.lua2
-rw-r--r--runtime/queries/latex/highlights.scm4
2 files changed, 3 insertions, 3 deletions
diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua
index 8f7ea231b..cf9368840 100644
--- a/lua/nvim-treesitter/parsers.lua
+++ b/lua/nvim-treesitter/parsers.lua
@@ -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' },
diff --git a/runtime/queries/latex/highlights.scm b/runtime/queries/latex/highlights.scm
index c39cd1b14..ec39afcf5 100644
--- a/runtime/queries/latex/highlights.scm
+++ b/runtime/queries/latex/highlights.scm
@@ -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