canola.nvim/lua/canola
Barrett Ruth 2fe4e78807
feat(view): add show_hidden_when_empty for hidden-only directories
Problem: with `show_hidden = false`, a directory containing only
dotfiles renders as just `..`, giving no indication that entries exist.

Solution: add `view_options.show_hidden_when_empty` (boolean, default
false). After the main filter loop in `render_buffer`, if the option is
set and `#line_table <= 1`, iterate `entry_list` again and render any
entry not matched by `is_always_hidden`, using `is_hidden = true` so
they render with the dimmed hidden style.

Based on: stevearc/oil.nvim#473
2026-03-07 16:49:12 -05:00
..
adapters feat: emit CanolaFileCreated autocmd on file creation (#75) 2026-03-06 15:54:01 -05:00
lsp refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
mutator feat: add skip_confirm_for_delete option (#77) 2026-03-06 16:29:12 -05:00
actions.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
cache.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
clipboard.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
columns.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
config.lua feat(preview): add max_file_size config to skip large file previews 2026-03-07 16:49:08 -05:00
constants.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
fs.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
git.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
init.lua feat(preview): add max_file_size config to skip large file previews 2026-03-07 16:49:08 -05:00
keymap_util.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
layout.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
loading.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
log.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
pathutil.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
ringbuf.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
shell.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
util.lua refactor: rename oil to canola across entire codebase (#70) 2026-03-05 14:50:10 -05:00
view.lua feat(view): add show_hidden_when_empty for hidden-only directories 2026-03-07 16:49:12 -05:00