diff options
| author | Barrett Ruth <62671086+barrettruth@users.noreply.github.com> | 2026-08-14 11:25:31 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-14 12:25:31 -0400 |
| commit | 0af3b9827bc3c45b315e5ede3f358b4ced678ea3 (patch) | |
| tree | d1d02ec8b0afa9c955d24e24ae3138791d0ad693 /runtime/lua/vim/_stringbuffer.lua | |
| parent | 64a301184ef39a0653c99c8edc1b63cd3fd16236 (diff) | |
| download | rneovim-0af3b9827bc3c45b315e5ede3f358b4ced678ea3.tar.gz rneovim-0af3b9827bc3c45b315e5ede3f358b4ced678ea3.tar.bz2 rneovim-0af3b9827bc3c45b315e5ede3f358b4ced678ea3.zip | |
feat(dir): user can sort/filter listings, DirReadPost event #41138
Problem:
Directory listing entries cannot be customized (filtered, reordered).
Listings are read by a BufReadCmd, which suppresses BufReadPost, so they
are the only buffers with no post-read event to hook.
Solution:
Introduce a post-render User autocmd `DirReadPost`, marking the dir
buffer writable for the duration and before the cursor is placed, so
handlers can sort or filter it with ordinary commands. Document common
recipes
Diffstat (limited to 'runtime/lua/vim/_stringbuffer.lua')
0 files changed, 0 insertions, 0 deletions