Commit graph

10 commits

Author SHA1 Message Date
38db6cf8ea
docs(recipes): add recipe to disable hidden file dimming
Problem: hidden files are dimmed via OilHidden -> Comment, and there is
no clean way to make them look identical to visible entries. Clearing
OilHidden alone causes all hidden types to lose their type-specific
coloring.

Solution: add a recipe that iterates _get_highlights() and relinks
each Oil*Hidden group to its non-hidden base. The Lua pattern
"^(Oil.+)Hidden$" naturally skips OilHidden itself and automatically
covers any future entry types.

Resolves: stevearc/oil.nvim#578
2026-02-20 20:26:08 -05:00
dcb3a08776 docs: add recipe for custom file extension column
Problem: there was no example showing how to register and sort by a
custom column.

Solution: add a recipe demonstrating an "extension" column with
natural-order sorting.

Cherry-picked from: stevearc/oil.nvim#697
2026-02-20 16:16:49 -05:00
eed6697ce2 docs: clarify get_current_dir nil return and add telescope recipe
Problem: get_current_dir returns nil in several cases that were not
documented, causing confusion when used in keymaps that open pickers
like Telescope (#682). Also, posix_to_os_path could crash on Windows
when no drive letter is found.

Solution: expand get_current_dir docs to explain nil return cases, add
a Telescope recipe with nil guards, and add a defensive nil check in
posix_to_os_path.

Cherry-picked from: stevearc/oil.nvim#727
2026-02-20 16:16:02 -05:00
Steven Arcangeli
c12fad2d22 doc: update winbar recipe to be window-specific (#546) 2025-01-04 21:50:16 -08:00
Github Actions
665bf2edc9 [docgen] Update docs
skip-checks: true
2024-09-11 15:45:10 +00:00
Steven Arcangeli
eadc3ed42e doc: add recipe to show current directory in the winbar 2024-09-11 08:44:45 -07:00
Steven Arcangeli
d10e7f442f doc: fix recipe for hiding gitignored files 2024-08-30 17:10:53 -07:00
Github Actions
0dc98d36b5 [docgen] Update docs
skip-checks: true
2024-08-29 16:26:36 +00:00
Micah Halter
85637c1e63
doc(recipes): improve git integrated hidden files recipe (#470) 2024-08-29 09:26:19 -07:00
Steven Arcangeli
b77ed915ab doc: add recipes 2024-06-13 18:05:32 -04:00