File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ The following new APIs or features were added.
186186 Additionally | TSNode:range() | now takes an optional {include_bytes} argument.
187187
188188• Treesitter injection queries now use the format described at
189- https://tree-sitter.github.io/tree-sitter/syntax-highlighting#language-injection .
189+ https://tree-sitter.github.io/tree-sitter/3- syntax-highlighting.html #language-injection .
190190 Support for the previous format will be removed in a future release.
191191
192192• Added | nvim_get_hl() | for getting highlight group definitions in a format
Original file line number Diff line number Diff line change @@ -551,7 +551,7 @@ TREESITTER LANGUAGE INJECTIONS *treesitter-language-injections*
551551<
552552
553553Note the following information is adapted from:
554- https://tree-sitter.github.io/tree-sitter/syntax-highlighting#language-injection
554+ https://tree-sitter.github.io/tree-sitter/3- syntax-highlighting.html #language-injection
555555
556556Some source files contain code written in multiple different languages.
557557Examples include:
Original file line number Diff line number Diff line change 988988
989989--- @private
990990--- Extract injections according to:
991- --- https://tree-sitter.github.io/tree-sitter/syntax-highlighting#language-injection
991+ --- https://tree-sitter.github.io/tree-sitter/3- syntax-highlighting.html #language-injection
992992--- @param match table<integer,TSNode[]>
993993--- @param metadata vim.treesitter.query.TSMetadata
994994--- @return string ?, boolean , Range6[]
You can’t perform that action at this time.
0 commit comments