mirror of
https://github.com/neovim/neovim.git
synced 2026-01-19 19:37:02 +00:00
Problem:
EditQuery shows swapfile ATTENTION, but this buffer is not intended for
preservation (and the dialog breaks the UX).
Solution:
Set 'noswapfile' on the buffer before renaming it.
(cherry picked from commit b63cd8cbae)