[vim/vim] fix(textformat): don't swallow "space" with auto-formatting enabled (PR #19593)

4 views
Skip to first unread message

Daniel Müller

unread,
1:04 PM (9 hours ago) 1:04 PM
to vim/vim, Subscribed

Problem: With auto paragraph formatting enabled, when a user makes an attempt to add a new word before the end of a line and with the following space bringing the line with over 'textwidth', the space ends up just getting swallowed by the editor, which is utterly confusing behavior.

Solution: Detect such a constellation and correct the behavior.


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/19593

Commit Summary

  • 1e1d4fc fix(textformat): don't swallow "space" with auto-formatting enabled

File Changes

(2 files)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19593@github.com>

Reply all
Reply to author
Forward
0 new messages