vim-patch:9.1.0046: :drop does not re-use empty buffer (#27165)

Problem:  :drop does not re-use empty buffer
          (Rocco Mao)
Solution: Make :drop re-use an empty buffer
          (Rocco Mao)

fixes: vim/vim#13851
closes: vim/vim#13881

f96dc8d07f

Co-authored-by: Rocco Mao <dapeng.mao@qq.com>
This commit is contained in:
zeertzjq
2024-01-24 07:29:33 +08:00
committed by GitHub
parent 6cbfe45454
commit 65bfa86efe
6 changed files with 93 additions and 15 deletions

View File

@@ -38,7 +38,7 @@ describe(':drop', function()
│^ |
{0:~ }│{0:~ }|*7
{2:tmp2 }{1:tmp1 }|
:drop tmp1 |
"tmp1" [New] |
]])
end)