fix(#2468): always apply filters to subdirectories (#2537)

Co-authored-by: Alexander Courtis <alex@courtis.org>
This commit is contained in:
Azad 2023-11-20 11:43:35 +01:00 committed by GitHub
parent b67a773609
commit fb89297347
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ local M = {}
local function refresh_nodes(node, projects, unloaded_bufnr)
Iterator.builder({ node })
:applier(function(n)
if n.open and n.nodes then
if n.nodes then
local toplevel = git.get_toplevel(n.cwd or n.link_to or n.absolute_path)
explorer_module.reload(n, projects[toplevel] or {}, unloaded_bufnr)
end