feat: handle api legacy calls and update signature
This commit is contained in:
@@ -182,6 +182,10 @@ Api.tree.get_nodes = wrap_explorer("get_nodes")
|
||||
|
||||
Api.tree.find_file = wrap(actions.tree.find_file.fn)
|
||||
Api.tree.search_node = wrap(actions.finders.search_node.fn)
|
||||
|
||||
---@class ApiTreeCollapseAllOpts
|
||||
---@field keep_buffers boolean|nil default false
|
||||
|
||||
Api.tree.collapse_all = wrap(actions.tree.modifiers.collapse_all.fn)
|
||||
Api.tree.expand_all = wrap_node(actions.tree.modifiers.expand_all.fn)
|
||||
Api.tree.toggle_enable_filters = wrap_explorer_member("filters", "toggle")
|
||||
|
||||
Reference in New Issue
Block a user