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
This commit is contained in:
Barrett Ruth 2026-02-20 16:16:49 -05:00
parent eed6697ce2
commit dcb3a08776
2 changed files with 78 additions and 0 deletions

View file

@ -372,6 +372,7 @@ Note that older versions of Neovim don't support numbers in the url, so for Neov
- [Toggle file detail view](doc/recipes.md#toggle-file-detail-view)
- [Show CWD in the winbar](doc/recipes.md#show-cwd-in-the-winbar)
- [Hide gitignored files and show git tracked hidden files](doc/recipes.md#hide-gitignored-files-and-show-git-tracked-hidden-files)
- [Add custom column for file extension](doc/recipes.md#add-custom-column-for-file-extension)
## Third-party extensions