[vim/vim] runtime(doc): make :h virtcol() more accurate (PR #18447)

1 view
Skip to first unread message

zeertzjq

unread,
2:53 AM (17 hours ago) 2:53 AM
to vim/vim, Subscribed

The current description (especially the "unlimited width" part) is
inaccurate in several ways:

  • The size of virtual text can depend on window width. In particular,
    the size of "above" virtual text can be equal to window width.
  • A double-width character that doesn't fit adds 1 to the virtual column
    of the following characters.
  • The size of 'showbreak' and 'breakindent' is counted.

related: #5713


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

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

Commit Summary

  • 6726840 runtime(doc): make :h virtcol() more accurate

File Changes

(1 file)

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/18447@github.com>

Reply all
Reply to author
Forward
0 new messages