aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/treesitter.lua
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-03-02 18:03:11 +0100
committerGitHub <noreply@github.com>2023-03-02 18:03:11 +0100
commitf449121764c19cebda7b8b2c970b76bc8121bae7 (patch)
treec0f66adf0c9fc04b259d7c4831959a910f92ac90 /runtime/lua/vim/treesitter.lua
parentb0b4c310973c2b419350e3c05c772596b1c334e9 (diff)
downloadrneovim-f449121764c19cebda7b8b2c970b76bc8121bae7.tar.gz
rneovim-f449121764c19cebda7b8b2c970b76bc8121bae7.tar.bz2
rneovim-f449121764c19cebda7b8b2c970b76bc8121bae7.zip
feat(treesitter): add :InspectTree command (#22477)
Diffstat (limited to 'runtime/lua/vim/treesitter.lua')
-rw-r--r--runtime/lua/vim/treesitter.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/lua/vim/treesitter.lua b/runtime/lua/vim/treesitter.lua
index 412140b757..09e3814a17 100644
--- a/runtime/lua/vim/treesitter.lua
+++ b/runtime/lua/vim/treesitter.lua
@@ -424,6 +424,8 @@ end
--- 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*
+---
---@param opts table|nil Optional options table with the following possible keys:
--- - lang (string|nil): The language of the source buffer. If omitted, the
--- filetype of the source buffer is used.