From 8425ef03ceb32dc4cd616af22e4a5d84cffec5f0 Mon Sep 17 00:00:00 2001 From: ghostbuster91 Date: Sun, 10 Aug 2025 17:16:51 +0200 Subject: [PATCH] Rename descend_until option to expand_until --- lua/nvim-tree/actions/tree/modifiers/expand.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/nvim-tree/actions/tree/modifiers/expand.lua b/lua/nvim-tree/actions/tree/modifiers/expand.lua index d3c60f5f..9486a092 100644 --- a/lua/nvim-tree/actions/tree/modifiers/expand.lua +++ b/lua/nvim-tree/actions/tree/modifiers/expand.lua @@ -122,7 +122,7 @@ local function expand_node(node, expand_opts) if not node then return end - local descend_until = (expand_opts and expand_opts.descend_until) or descend_until_max_or_empty + local descend_until = (expand_opts and expand_opts.expand_until) or descend_until_max_or_empty if gen_iterator(descend_until)(node) then notify.warn("expansion iteration was halted after " .. M.MAX_FOLDER_DISCOVERY .. " discovered folders") end