chore: stylua column width 120 -> 140

This commit is contained in:
Alexander Courtis
2023-10-07 14:54:58 +11:00
parent 85abe29396
commit d4871d726b
12 changed files with 16 additions and 69 deletions

View File

@@ -30,11 +30,7 @@ local function populate_children(handle, cwd, node, git_status)
local profile = log.profile_start("explore populate_children %s", abs)
t = get_type_from(t, abs)
if
not filters.should_filter(abs, filter_status)
and not nodes_by_path[abs]
and Watcher.is_fs_event_capable(abs)
then
if not filters.should_filter(abs, filter_status) and not nodes_by_path[abs] and Watcher.is_fs_event_capable(abs) then
local child = nil
if t == "directory" and vim.loop.fs_access(abs, "R") then
child = builders.folder(node, abs, name)

View File

@@ -121,10 +121,7 @@ function M.should_filter(path, status)
return false
end
return git(path, status.git_status)
or buf(path, status.bufinfo, status.unloaded_bufnr)
or dotfile(path)
or custom(path)
return git(path, status.git_status) or buf(path, status.bufinfo, status.unloaded_bufnr) or dotfile(path) or custom(path)
end
function M.setup(opts)