Skip to content

Commit e9df34f

Browse files
committed
fixed error message when opening new git repo
1 parent d05881f commit e9df34f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/nvim-tree/explorer/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ function Explorer:populate_children(handle, cwd, node, project, parent)
391391
end
392392
else
393393
for reason, value in pairs(FILTER_REASON) do
394-
if filter_reason == value then
394+
if filter_reason == value and filter_reason ~= FILTER_REASON.none then
395395
node.hidden_stats[reason] = node.hidden_stats[reason] + 1
396396
end
397397
end

0 commit comments

Comments
 (0)