aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/news.txt5
-rw-r--r--runtime/doc/treesitter.txt2
2 files changed, 5 insertions, 2 deletions
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt
index 226444ccb5..0ffd335520 100644
--- a/runtime/doc/news.txt
+++ b/runtime/doc/news.txt
@@ -89,8 +89,9 @@ The following new APIs or features were added.
See |lsp-semantic_tokens| for more information.
-• |vim.treesitter.inspect_tree()| opens a split window showing a text
- representation of the nodes in a language tree for the current buffer.
+• |vim.treesitter.inspect_tree()| and |:InspectTree| opens a split window
+ showing a text representation of the nodes in a language tree for the current
+ buffer.
• Added support for the `willSave` and `willSaveWaitUntil` capabilities to the
LSP client. `willSaveWaitUntil` allows a server to modify a document before it
diff --git a/runtime/doc/treesitter.txt b/runtime/doc/treesitter.txt
index b75e879424..5ac24de70a 100644
--- a/runtime/doc/treesitter.txt
+++ b/runtime/doc/treesitter.txt
@@ -603,6 +603,8 @@ inspect_tree({opts}) *vim.treesitter.inspect_tree()*
to toggle the display of the source language of each node, and press
<Enter> to jump to the node under the cursor in the source buffer.
+ Can also be shown with `:InspectTree`. *:InspectTree*
+
Parameters: ~
• {opts} (table|nil) Optional options table with the following possible
keys: