diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2025-07-05 14:47:35 +0200 |
|---|---|---|
| committer | Christian Clason <ch.clason+github@icloud.com> | 2025-07-05 17:46:07 +0200 |
| commit | 0d32ec3c3efd1c26daa47796287e31fdd3307148 (patch) | |
| tree | d587e8c9346c64f9980ad42a2f706578add91bce | |
| parent | feat(parsers): update c3, cpp, d, faust, fsharp, javadoc, julia, liquidsoap, ... (diff) | |
| download | nvim-treesitter-0d32ec3c3efd1c26daa47796287e31fdd3307148.tar nvim-treesitter-0d32ec3c3efd1c26daa47796287e31fdd3307148.tar.gz nvim-treesitter-0d32ec3c3efd1c26daa47796287e31fdd3307148.tar.bz2 nvim-treesitter-0d32ec3c3efd1c26daa47796287e31fdd3307148.tar.lz nvim-treesitter-0d32ec3c3efd1c26daa47796287e31fdd3307148.tar.xz nvim-treesitter-0d32ec3c3efd1c26daa47796287e31fdd3307148.tar.zst nvim-treesitter-0d32ec3c3efd1c26daa47796287e31fdd3307148.zip | |
feat(latex)!: update parser and queries
Breaking change: `label_definition`, `label_text` patterns
| -rw-r--r-- | lua/nvim-treesitter/parsers.lua | 2 | ||||
| -rw-r--r-- | runtime/queries/latex/highlights.scm | 4 |
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 |
