Description of problem: vim, and vi before that, would always insert a space between lines that are joined. Lately vim joins lines without a space when empty lines are among the joined lines. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Create a file like this: ----------------------x8----------------- b c d e f g ----------------------x8----------------- Make sure no trailing spaces in this file. 2. Join all lines using the command ":%j" Actual results: b c de f g Notice "d" and "e" without a space in between. Expected results: b c d e f g Additional info: I am not sure when this issue started, but I would guess withing the past couple of months.
I just got a chance to test with version vim-8.1.2267-1.fc31, and this version did work properly. The vim-8.1.2352-1.fc31.x86_64 version does have the problem.
Fixed in patch 8.2.018.
FEDORA-2019-36048ee993 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-36048ee993
(In reply to Zdenek Dohnal from comment #2) > Fixed in patch 8.2.018. It is indeed. Thanks a lot.
vim-8.2.019-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-36048ee993
vim-8.2.019-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.