diff options
| -rw-r--r-- | lua/nvim-treesitter/parsers.lua | 2 | ||||
| -rw-r--r-- | runtime/queries/latex/highlights.scm | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index ff27ab5d9..8ea842356 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -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' }, diff --git a/runtime/queries/latex/highlights.scm b/runtime/queries/latex/highlights.scm index ec39afcf5..30602c907 100644 --- a/runtime/queries/latex/highlights.scm +++ b/runtime/queries/latex/highlights.scm @@ -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) |
