[vim/vim] lines disappear with wrapping virtual text after a double-width char (PR #20395)

3 views
Skip to first unread message

h_east

unread,
May 31, 2026, 2:55:41 AM (yesterday) May 31
to vim/vim, Subscribed
Problem:  With 'nowrap', when a line ends with a double-width character
          exactly at the window width and has wrapping "after" virtual
          text, the lines below disappear and "@@@" is shown.
Solution: Detect that the last character fills the rightmost column using
          its cell width, so a double-width character is handled the same
          as a single-width one.  Also clarify in the help that "wrap"
          only takes effect with the 'wrap' option set.

fixes: #20384
Related: #12213


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

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

Commit Summary

  • 85056e1 lines disappear with wrapping virtual text after a double-width char

File Changes

(4 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20395@github.com>

Christian Brabandt

unread,
May 31, 2026, 2:41:33 PM (yesterday) May 31
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#20395)

thanks


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20395/c4587680521@github.com>

Reply all
Reply to author
Forward
0 new messages