aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorGregory Anders <8965202+gpanders@users.noreply.github.com>2024-02-05 15:59:25 -0600
committerGitHub <noreply@github.com>2024-02-05 15:59:25 -0600
commitabfcdd9bf42eae5fba0dfb647e48ecf4e1c78293 (patch)
treeedf00a49cb36b7980ba3f6378d6051d8670161dc /runtime/doc
parent0e9a33572dc752463a0f5ad8a08a2c494d7a42e1 (diff)
parentf4a3c326314b079e660ebd0f3c837f69d8c425fc (diff)
downloadrneovim-abfcdd9bf42eae5fba0dfb647e48ecf4e1c78293.tar.gz
rneovim-abfcdd9bf42eae5fba0dfb647e48ecf4e1c78293.tar.bz2
rneovim-abfcdd9bf42eae5fba0dfb647e48ecf4e1c78293.zip
Merge pull request #27295 from wookayin/feat/inspecttree
feat(treesitter): use 0-based indexing to show ranges in `:InspectTree`
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/news.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt
index e83fc25f88..c1fc04d9cf 100644
--- a/runtime/doc/news.txt
+++ b/runtime/doc/news.txt
@@ -224,6 +224,8 @@ The following new APIs and features were added.
• |vim.treesitter.query.edit()| allows live editing of treesitter
queries.
• Improved error messages for query parsing.
+ • `:InspectTree` (|vim.treesitter.inspect_tree()|) shows node ranges in
+ 0-based indexing instead of 1-based indexing.
• |vim.ui.open()| opens URIs using the system default handler (macOS `open`,
Windows `explorer`, Linux `xdg-open`, etc.)