File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ local function gen_iterator(should_descend)
102102end
103103
104104--- @param node Node ?
105- --- @param expand_opts ApiTreeExpandAllOpts ?
105+ --- @param expand_opts ApiTreeExpandOpts ?
106106local function expand_node (node , expand_opts )
107107 if not node then
108108 return
@@ -120,14 +120,14 @@ end
120120
121121--- Expand the directory node or the root
122122--- @param node Node
123- --- @param expand_opts ApiTreeExpandAllOpts ?
123+ --- @param expand_opts ApiTreeExpandOpts ?
124124function M .all (node , expand_opts )
125125 expand_node (node and node :as (DirectoryNode ) or core .get_explorer (), expand_opts )
126126end
127127
128128--- Expand the directory node or parent node
129129--- @param node Node
130- --- @param expand_opts ApiTreeExpandAllOpts ?
130+ --- @param expand_opts ApiTreeExpandOpts ?
131131function M .node (node , expand_opts )
132132 if not node then
133133 return
Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ Api.tree.search_node = wrap(actions.finders.search_node.fn)
187187
188188Api .tree .collapse_all = wrap (actions .tree .modifiers .collapse .all )
189189
190- --- @class ApiTreeExpandAllOpts
190+ --- @class ApiTreeExpandOpts
191191--- @field expand_until (fun ( expansion_count : integer , node : Node ): boolean )| nil
192192
193193Api .tree .expand_all = wrap_node (actions .tree .modifiers .expand .all )
You can’t perform that action at this time.
0 commit comments