We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df45216 commit f3ac4a9Copy full SHA for f3ac4a9
lua/neo-tree/sources/filesystem/lib/fs_scan.lua
@@ -190,7 +190,8 @@ local function scan_dir_sync(context, path)
190
if
191
grandchild_nodes == nil
192
or #grandchild_nodes == 0
193
- or #grandchild_nodes == 1 and grandchild_nodes[1].type == "directory"
+ or (#grandchild_nodes == 1 and grandchild_nodes[1].type == "directory")
194
+ or context.recursive
195
then
196
scan_dir_sync(context, child.path)
197
end
0 commit comments