We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c60a19 commit 0d0f98bCopy full SHA for 0d0f98b
lua/neo-tree/sources/filesystem/lib/ignored.lua
@@ -72,7 +72,7 @@ M.mark_ignored = function(state, items)
72
ignorers[folder] = ignorers[folder] or {}
73
local folder_ignorers = ignorers[folder]
74
local applicable_ignore_files =
75
- vim.fs.find(ignore_files, { upward = true, limit = math.huge, path = folder })
+ vim.fs.find(ignore_files, { upward = true, limit = math.huge, path = folder, type = "file" })
76
77
for _, ignore_filepath in ipairs(applicable_ignore_files) do
78
globs[ignore_filepath] = globs[ignore_filepath] or file_to_glob(ignore_filepath)
0 commit comments