aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/news.txt
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2025-01-27 16:16:06 +0100
committerGitHub <noreply@github.com>2025-01-27 16:16:06 +0100
commiteb60cd74fb5caa997e6253bef6a1f0b58e1b6ec6 (patch)
treebde2e7d1474d477d8408fe183d16aaa8d7de5bcf /runtime/doc/news.txt
parentb288fa8d62c3f129d333d3ea6abc3234039cad37 (diff)
downloadrneovim-eb60cd74fb5caa997e6253bef6a1f0b58e1b6ec6.tar.gz
rneovim-eb60cd74fb5caa997e6253bef6a1f0b58e1b6ec6.tar.bz2
rneovim-eb60cd74fb5caa997e6253bef6a1f0b58e1b6ec6.zip
build(deps)!: bump tree-sitter to HEAD, wasmtime to v29.0.1 (#32200)
Breaking change: `ts_node_child_containing_descendant()` was removed Breaking change: tree-sitter 0.25 (HEAD) required
Diffstat (limited to 'runtime/doc/news.txt')
-rw-r--r--runtime/doc/news.txt11
1 files changed, 8 insertions, 3 deletions
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt
index adad08ddf2..1dee72314a 100644
--- a/runtime/doc/news.txt
+++ b/runtime/doc/news.txt
@@ -36,6 +36,12 @@ OPTIONS
• 'jumpoptions' flag "unload" has been renamed to "clean".
• The `msghistory` option has been removed in favor of 'messagesopt'.
+TREESITTER
+
+• *TSNode:child_containing_descendant()* has been removed in the tree-sitter
+ library and is no longer available; use |TSNode:child_with_descendant()|
+ instead.
+
==============================================================================
BREAKING CHANGES *news-breaking*
@@ -366,9 +372,8 @@ TREESITTER
• |treesitter-directive-trim!| can trim all whitespace (not just empty lines)
from both sides of a node.
• |vim.treesitter.get_captures_at_pos()| now returns the `id` of each capture
-• New |TSNode:child_with_descendant()|, which is nearly identical to
- |TSNode:child_containing_descendant()| except that it can return the
- descendant itself.
+• New |TSNode:child_with_descendant()|, which efficiently gets the node's
+ child that contains a given node as descendant.
• |LanguageTree:parse()| optionally supports asynchronous invocation, which is
activated by passing the `on_parse` callback parameter.