Skip to content

Commit e0e12a4

Browse files
committed
Ignore unused variable
1 parent a3f1588 commit e0e12a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lua/nvim-tree/actions/tree/modifiers/expand-all.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,14 @@ end
3939
---@param node Node
4040
---@param populate_node function
4141
---@return boolean, function
42+
-- luacheck: push ignore populate_node
4243
local function expand_until_max_or_empty(expansion_count, node, populate_node)
4344
local should_halt = expansion_count >= M.MAX_FOLDER_DISCOVERY
4445
local should_exclude = M.EXCLUDE[node.name]
4546
local result = not should_halt and node.nodes and not node.open and not should_exclude
4647
return result, expand_until_max_or_empty
4748
end
49+
-- luacheck: pop
4850

4951
local function gen_iterator(should_expand_fn)
5052
local expansion_count = 0

0 commit comments

Comments
 (0)