canola.nvim/lua
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
..
oil feat: pass entry to is_hidden_file and is_always_hidden callbacks 2026-02-20 16:29:08 -05:00
resession/extensions cleanup: don't need empty methods in resession extension 2023-09-17 10:10:42 -07:00