diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-03-21 07:34:43 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2024-03-22 06:04:37 +0800 |
commit | 271879dd490b8f9c20c5541e60ca2a2924b631d9 (patch) | |
tree | ccf00747b396ebba3f8424e6c7b92298c03ab664 /runtime/lua/vim/ui.lua | |
parent | 774455dc371736e83afc62eca67ceec3e2dedb5d (diff) | |
download | rneovim-271879dd490b8f9c20c5541e60ca2a2924b631d9.tar.gz rneovim-271879dd490b8f9c20c5541e60ca2a2924b631d9.tar.bz2 rneovim-271879dd490b8f9c20c5541e60ca2a2924b631d9.zip |
vim-patch:9.1.0192: drop: don't rewind when editing the same file
Problem: :drop tries to :rewind the argumentlist, which results in E37
(after v9.1.0046)
Solution: instead of calling ex_rewind(), call open_buffer() only when
re-using the initial empty buffer
fixes: vim/vim#14219
closes: vim/vim#14220
https://github.com/vim/vim/commit/978178823b7c62a0249411f3d1f584f8a3144c5d
Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/lua/vim/ui.lua')
0 files changed, 0 insertions, 0 deletions