Skip to content

Commit

Permalink
fix(filesystem): always show gitignored status unless `enable_git_sta…
Browse files Browse the repository at this point in the history
…tus` is false (#1184)

fixes #1152
  • Loading branch information
cseickel committed Oct 14, 2023
1 parent 6f8c499 commit 63ebe87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lua/neo-tree/sources/filesystem/lib/fs_scan.lua
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ local should_check_gitignore = function (context)
if state.filtered_items.hide_gitignored then
return true
end
if not state.enable_git_status then
return true
if state.enable_git_status == false then
return false
end
return false
return true
end

local job_complete_async = function(context)
Expand Down

0 comments on commit 63ebe87

Please sign in to comment.