Merge branch 'master' into type-annotations

This commit is contained in:
Azad
2023-11-24 12:47:41 +01:00
committed by GitHub
6 changed files with 57 additions and 16 deletions

View File

@@ -14,7 +14,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