@@ -1841,12 +1841,17 @@ tree.collapse_all({opts}) *nvim-tree-api.tree.collapse_all()*
1841
1841
Options: ~
1842
1842
• {keep_buffers} (boolean) do not collapse nodes with open buffers.
1843
1843
1844
- tree.expand_all({node} ) *nvim-tree-api.tree.expand_all()*
1844
+ tree.expand_all({node} , {opts} ) *nvim-tree-api.tree.expand_all()*
1845
1845
Recursively expand all nodes under the tree root or specified folder.
1846
1846
1847
1847
Parameters: ~
1848
1848
• {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.
1850
1855
1851
1856
*nvim-tree-api.tree.toggle_enable_filters()*
1852
1857
tree.toggle_enable_filters()
@@ -2280,13 +2285,18 @@ node.buffer.wipe({node}, {opts}) *nvim-tree-api.node.buffer.wipe()*
2280
2285
Options: ~
2281
2286
• {force} (boolean) wipe even if buffer is modified, default false
2282
2287
2283
- node.expand({node} ) *nvim-tree-api.node.expand()*
2288
+ node.expand({node} , {opts} ) *nvim-tree-api.node.expand()*
2284
2289
Recursively expand all nodes under a directory or a file's parent
2285
2290
directory.
2286
2291
2287
2292
Parameters: ~
2288
2293
• {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.
2290
2300
2291
2301
node.collapse({node} , {opts} ) *nvim-tree-api.node.collapse()*
2292
2302
Collapse the tree under a directory or a file's parent directory.
0 commit comments