We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dec0568 commit 7582f67Copy full SHA for 7582f67
lua/nvim-tree/actions/tree/modifiers/expand-all.lua
@@ -47,14 +47,14 @@ local function gen_iterator()
47
48
Iterator.builder(parent.nodes)
49
:hidden()
50
- ---@param node DirectoryNode
+ ---@param node DirectoryNode
51
:applier(function(node)
52
if should_expand(expansion_count, node) then
53
expansion_count = expansion_count + 1
54
expand(node)
55
end
56
end)
57
58
:recursor(function(node)
59
return expansion_count < M.MAX_FOLDER_DISCOVERY and (node.group_next and { node.group_next } or (node.open and node.nodes))
60
0 commit comments