mirror of
https://github.com/neovim/neovim.git
synced 2026-05-27 23:35:40 +00:00
Problem: home_replace() function can be improved
Solution: Refactor home_replace() to return the length of the string
(John Marriott).
In addition:
- in function set_b0_fname() move ulen into the block where it is used.
- In function findswapname() rework logic around displaying "swap file
already exists" dialogue so that literal message text is set once.
closes: vim/vim#20249
a0931a90ee
Co-authored-by: John Marriott <basilisk@internode.on.net>