canola.nvim/lua/oil/mutator
Barrett Ruth 4ab4765a84 feat: pass entry to is_hidden_file and is_always_hidden callbacks
Problem: the is_hidden_file and is_always_hidden config callbacks
only received (name, bufnr), making it impossible to filter by entry
type, permissions, or other metadata without reimplementing entry
lookup.

Solution: pass the full oil.Entry as a third argument to both
callbacks. Existing configs that only accept (name, bufnr) are
unaffected since Lua silently ignores extra arguments. The internal
should_display function signature changes from (name, bufnr) to
(bufnr, entry) to reflect its new contract.

Cherry-picked from: stevearc/oil.nvim#644
2026-02-20 16:29:08 -05:00
..
confirmation.lua fix: handle files with newlines in the name (#534) 2024-12-10 15:22:24 -08:00
init.lua fix: silent handling when buffer has no oil adapter (#573) 2025-03-04 12:57:01 -08:00
parser.lua feat: pass entry to is_hidden_file and is_always_hidden callbacks 2026-02-20 16:29:08 -05:00
progress.lua fix: set floating window win_options when buffer changes (#432) 2024-07-02 10:03:08 -07:00
trie.lua lint: stricter type checking 2024-09-17 13:00:48 -07:00