diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2024-01-24 07:29:33 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-24 07:29:33 +0800 |
| commit | 65bfa86efeeb2ec18ba82fd821ffd4c8f97fcd2b (patch) | |
| tree | bf5999ea603cd484c19148687a0dd83c0d8fecc1 /src/nvim/arglist.c | |
| parent | 6cbfe454542ff498a84b22f0aff1bf215e883485 (diff) | |
| download | rneovim-65bfa86efeeb2ec18ba82fd821ffd4c8f97fcd2b.tar.gz rneovim-65bfa86efeeb2ec18ba82fd821ffd4c8f97fcd2b.tar.bz2 rneovim-65bfa86efeeb2ec18ba82fd821ffd4c8f97fcd2b.zip | |
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
https://github.com/vim/vim/commit/f96dc8d07f752ddd96d1447d85278a85255a1462
Co-authored-by: Rocco Mao <dapeng.mao@qq.com>
Diffstat (limited to 'src/nvim/arglist.c')
| -rw-r--r-- | src/nvim/arglist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/arglist.c b/src/nvim/arglist.c index 921d56ed78..e9108f72cc 100644 --- a/src/nvim/arglist.c +++ b/src/nvim/arglist.c @@ -477,7 +477,7 @@ static int do_arglist(char *str, int what, int after, bool will_edit) /// Redefine the argument list. void set_arglist(char *str) { - do_arglist(str, AL_SET, 0, false); + do_arglist(str, AL_SET, 0, true); } /// @return true if window "win" is editing the file at the current argument |