From 6dc396d0a5edcdeb4b50bbfb6966708befe5b497 Mon Sep 17 00:00:00 2001 From: Akmadan23 Date: Sun, 19 Nov 2023 16:18:06 +0100 Subject: [PATCH] Add documentation --- doc/nvim-tree-lua.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/nvim-tree-lua.txt b/doc/nvim-tree-lua.txt index 9633d9e9..04465a97 100644 --- a/doc/nvim-tree-lua.txt +++ b/doc/nvim-tree-lua.txt @@ -1617,6 +1617,11 @@ tree.get_node_under_cursor() *nvim-tree-api.tree.get_node_under_cursor()* Return: ~ 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()* 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.