Add documentation

This commit is contained in:
Akmadan23 2023-11-19 16:18:06 +01:00
parent 784ee91cc6
commit 6dc396d0a5
No known key found for this signature in database
GPG Key ID: 15C83F0901FCBA13

View File

@ -1617,6 +1617,11 @@ tree.get_node_under_cursor() *nvim-tree-api.tree.get_node_under_cursor()*
Return: ~ Return: ~
node or nil if tree is not visible node or nil if tree is not visible
*nvim-tree-api.tree.inspect_node_under_cursor()*
tree.inspect_node_under_cursor()
Retrieve the currently focused node and display its contents.
Equivalent to `vim.print(require("nvim-tree-api").tree.get_node_under_cursor())`.
tree.get_nodes() *nvim-tree-api.tree.get_nodes()* tree.get_nodes() *nvim-tree-api.tree.get_nodes()*
Retrieve a hierarchical list of all the nodes. This is a cloned list for Retrieve a hierarchical list of all the nodes. This is a cloned list for
reference purposes only and should not be passed into other API functions. reference purposes only and should not be passed into other API functions.