Skip to content

Commit 8425ef0

Browse files
committed
Rename descend_until option to expand_until
1 parent 669a79f commit 8425ef0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ local function expand_node(node, expand_opts)
122122
if not node then
123123
return
124124
end
125-
local descend_until = (expand_opts and expand_opts.descend_until) or descend_until_max_or_empty
125+
local descend_until = (expand_opts and expand_opts.expand_until) or descend_until_max_or_empty
126126
if gen_iterator(descend_until)(node) then
127127
notify.warn("expansion iteration was halted after " .. M.MAX_FOLDER_DISCOVERY .. " discovered folders")
128128
end

0 commit comments

Comments
 (0)