[vim/vim] fix(highlight): use VertSplit instead of VertSplitNC for winbar rows (PR #19987)

4 views
Skip to first unread message

h_east

unread,
Apr 16, 2026, 6:08:29 AM (20 hours ago) Apr 16
to vim/vim, Subscribed

vsep_row_is_curwin() and right_neighbor_at_row() used W_WINROW() which excludes winbar rows from the window's range. This caused the vertical separator at winbar rows to use VertSplitNC even when curwin is adjacent.

Use w_winrow directly so winbar rows are included in the range check.

Fixes: #19985


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

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

Commit Summary

  • a2ec5de fix(highlight): use VertSplit instead of VertSplitNC for winbar rows

File Changes

(4 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/19987@github.com>

Christian Brabandt

unread,
Apr 16, 2026, 4:12:08 PM (10 hours ago) Apr 16
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#19987)

thanks


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

Christian Brabandt

unread,
Apr 16, 2026, 4:18:57 PM (9 hours ago) Apr 16
to vim/vim, Subscribed

Closed #19987 via 25e9fc4.


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

Reply all
Reply to author
Forward
0 new messages