aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_stringbuffer.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2026-08-06 07:17:17 +0800
committerGitHub <noreply@github.com>2026-08-06 07:17:17 +0800
commita19dcb3108440806361cab4f81fb42f66971ca8e (patch)
treeb7f1767e32ade99e55816ec7eecdddf49ea40e4f /runtime/lua/vim/_stringbuffer.lua
parent88c13ee43c4231845a358b47d08b9eec76543d1d (diff)
downloadrneovim-a19dcb3108440806361cab4f81fb42f66971ca8e.tar.gz
rneovim-a19dcb3108440806361cab4f81fb42f66971ca8e.tar.bz2
rneovim-a19dcb3108440806361cab4f81fb42f66971ca8e.zip
vim-patch:9.2.0914: diff: undo after :diffget into an empty buffer leaves a line behind (#41181)
Problem: After :diffget into an empty buffer, undo does not restore the empty buffer, the last line stays behind (Narendran Gopalakrishnan) Solution: Include the empty line of the empty buffer in the undo information, it is deleted once the first line was obtained (Hirohito Higashi). fixes: vim/vim#20950 closes: vim/vim#20951 https://github.com/vim/vim/commit/c44f35ca1a4d8c0c78f327800fe2677c91c6cecb Co-authored-by: Hirohito Higashi <h.east.727@gmail.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'runtime/lua/vim/_stringbuffer.lua')
0 files changed, 0 insertions, 0 deletions