Skip to content

Commit 6dc396d

Browse files
committed
Add documentation
1 parent 784ee91 commit 6dc396d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/nvim-tree-lua.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1617,6 +1617,11 @@ tree.get_node_under_cursor() *nvim-tree-api.tree.get_node_under_cursor()*
16171617
Return: ~
16181618
node or nil if tree is not visible
16191619

1620+
*nvim-tree-api.tree.inspect_node_under_cursor()*
1621+
tree.inspect_node_under_cursor()
1622+
Retrieve the currently focused node and display its contents.
1623+
Equivalent to `vim.print(require("nvim-tree-api").tree.get_node_under_cursor())`.
1624+
16201625
tree.get_nodes() *nvim-tree-api.tree.get_nodes()*
16211626
Retrieve a hierarchical list of all the nodes. This is a cloned list for
16221627
reference purposes only and should not be passed into other API functions.

0 commit comments

Comments
 (0)