Skip to content

Commit 63ebe87

Browse files
authored
fix(filesystem): always show gitignored status unless enable_git_status is false (#1184)
fixes #1152
1 parent 6f8c499 commit 63ebe87

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lua/neo-tree/sources/filesystem/lib/fs_scan.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,10 @@ local should_check_gitignore = function (context)
115115
if state.filtered_items.hide_gitignored then
116116
return true
117117
end
118-
if not state.enable_git_status then
119-
return true
118+
if state.enable_git_status == false then
119+
return false
120120
end
121-
return false
121+
return true
122122
end
123123

124124
local job_complete_async = function(context)

0 commit comments

Comments
 (0)