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 a3f1588 commit e0e12a4Copy full SHA for e0e12a4
lua/nvim-tree/actions/tree/modifiers/expand-all.lua
@@ -39,12 +39,14 @@ end
39
---@param node Node
40
---@param populate_node function
41
---@return boolean, function
42
+-- luacheck: push ignore populate_node
43
local function expand_until_max_or_empty(expansion_count, node, populate_node)
44
local should_halt = expansion_count >= M.MAX_FOLDER_DISCOVERY
45
local should_exclude = M.EXCLUDE[node.name]
46
local result = not should_halt and node.nodes and not node.open and not should_exclude
47
return result, expand_until_max_or_empty
48
end
49
+-- luacheck: pop
50
51
local function gen_iterator(should_expand_fn)
52
local expansion_count = 0
0 commit comments