diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-03-31 09:13:54 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-31 09:13:54 +0800 |
| commit | 19fff0e0bed2a77c8f8d27070cc12084bce24000 (patch) | |
| tree | 375ef5e2c57a28d9b93ebc27bb345a1205f9dd28 /scripts/lintcommit.lua | |
| parent | bc272cc36f1ee65d8aa6cc9f98e3fb8f2d75ff0a (diff) | |
| download | rneovim-19fff0e0bed2a77c8f8d27070cc12084bce24000.tar.gz rneovim-19fff0e0bed2a77c8f8d27070cc12084bce24000.tar.bz2 rneovim-19fff0e0bed2a77c8f8d27070cc12084bce24000.zip | |
vim-patch:9.2.0232: fileinfo not shown after :bd of last listed buffer (#38453)
Problem: fileinfo not shown after :bd of last listed buffer
(memeplex)
Solution: Set need_fileinfo to true in empty_curbuf()
(Hirohito Higashi)
When deleting the last listed buffer with :bd, the new empty buffer's
file info (e.g. "[No Name]" --No lines in buffer--) was not displayed.
do_ecmd() only calls fileinfo() for existing buffers (oldbuf), not for
newly created empty buffers.
Set need_fileinfo in empty_curbuf() so the file info is displayed after
redraw.
fixes: vim/vim#548
closes: vim/vim#19802
https://github.com/vim/vim/commit/3d472d86753c451ce6914f70161ffc40ee37ea96
Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'scripts/lintcommit.lua')
0 files changed, 0 insertions, 0 deletions