parent
d243da3e14
commit
8b8c5893e5
@ -337,20 +337,20 @@ See |nvim-tree-highlight| for details.
|
||||
|
||||
*:NvimTreeCollapse*
|
||||
|
||||
Collapses the entire tree recursively.
|
||||
Collapses the nvim-tree recursively.
|
||||
|
||||
See |nvim-tree-api.tree.collapse_all()|
|
||||
|
||||
Calls: `api.tree.collapse_all(nil, { keep_buffers = false })`
|
||||
Calls: `api.tree.collapse_all(false)`
|
||||
|
||||
*:NvimTreeCollapseKeepBuffers*
|
||||
|
||||
Collapses the entire tree recursively, but keep the directories open, which
|
||||
are used in an open buffer.
|
||||
Collapses the nvim-tree recursively, but keep the directories open, which are
|
||||
used in an open buffer.
|
||||
|
||||
See |nvim-tree-api.tree.collapse_all()|
|
||||
|
||||
Calls: `api.tree.collapse_all(nil, { keep_buffers = true })`
|
||||
Calls: `api.tree.collapse_all(true)`
|
||||
|
||||
*:NvimTreeHiTest*
|
||||
|
||||
@ -1829,15 +1829,11 @@ tree.find_file({opts}) *nvim-tree-api.tree.find_file()*
|
||||
tree.search_node() *nvim-tree-api.tree.search_node()*
|
||||
Open the search dialogue as per the search_node action.
|
||||
|
||||
tree.collapse_all({node}, {opts}) *nvim-tree-api.tree.collapse_all()*
|
||||
Collapses the tree recursively.
|
||||
tree.collapse_all({keep_buffers}) *nvim-tree-api.tree.collapse_all()*
|
||||
Collapse the tree.
|
||||
|
||||
Parameters: ~
|
||||
• {node} (Node|nil) collapse only children of this directory
|
||||
• {opts} (table) optional parameters
|
||||
|
||||
Options: ~
|
||||
• {keep_buffers} (boolean?) do not collapse nodes with open buffers, default false
|
||||
• {keep_buffers} (boolean) do not collapse nodes with open buffers.
|
||||
|
||||
tree.expand_all({node}) *nvim-tree-api.tree.expand_all()*
|
||||
Recursively expand all nodes under the tree root or specified folder.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user