@@ -1841,12 +1841,17 @@ tree.collapse_all({opts}) *nvim-tree-api.tree.collapse_all()*
18411841 Options: ~
18421842 • {keep_buffers} (boolean) do not collapse nodes with open buffers.
18431843
1844- tree.expand_all({node} ) *nvim-tree-api.tree.expand_all()*
1844+ tree.expand_all({node} , {opts} ) *nvim-tree-api.tree.expand_all()*
18451845 Recursively expand all nodes under the tree root or specified folder.
18461846
18471847 Parameters: ~
18481848 • {node} (Node|nil) folder
1849- • {expand_opts} (ApiTreeExpandOpts|nil) optional parameters
1849+ • {opts} (ApiTreeExpandOpts) optional parameters
1850+
1851+ Options: ~
1852+ • {expand_until} ((fun(expansion_count: integer, node: Node?): boolean)?)
1853+ Return true if {node} should be expanded.
1854+ {expansion_count} is the total number of folders expanded.
18501855
18511856 *nvim-tree-api.tree.toggle_enable_filters()*
18521857tree.toggle_enable_filters()
@@ -2280,13 +2285,18 @@ node.buffer.wipe({node}, {opts}) *nvim-tree-api.node.buffer.wipe()*
22802285 Options: ~
22812286 • {force} (boolean) wipe even if buffer is modified, default false
22822287
2283- node.expand({node} ) *nvim-tree-api.node.expand()*
2288+ node.expand({node} , {opts} ) *nvim-tree-api.node.expand()*
22842289 Recursively expand all nodes under a directory or a file's parent
22852290 directory.
22862291
22872292 Parameters: ~
22882293 • {node} (Node|nil) file or folder
2289- • {expand_opts} (ApiTreeExpandOpts|nil) optional parameters
2294+ • {opts} (ApiTreeExpandOpts) optional parameters
2295+
2296+ Options: ~
2297+ • {expand_until} ((fun(expansion_count: integer, node: Node?): boolean)?)
2298+ Return true if {node} should be expanded.
2299+ {expansion_count} is the total number of folders expanded.
22902300
22912301node.collapse({node} , {opts} ) *nvim-tree-api.node.collapse()*
22922302 Collapse the tree under a directory or a file's parent directory.
0 commit comments