[vim/vim] statusline: blend status line highlight into adjacent vsep cells (PR #20182)

7 views
Skip to first unread message

h_east

unread,
May 10, 2026, 11:20:42 AM (yesterday) May 10
to vim/vim, Subscribed
Problem:  When two windows are placed side by side with vsplit and
          their status lines are connected (the cell between them
          is drawn with the 'stl' / 'stlnc' fillchar, not the
          'vert' character), that connecting cell still uses the
          VertSplit highlight.  The status line bar therefore
          looks broken at the separator column, and any custom
          edge highlight set in 'statusline' (%#XX# / %N*) is cut
          off there.
Solution: Make that connecting cell take the highlight from the
          neighbouring status line edge instead of VertSplit:
            - Next to the current window, use the current
              window's edge highlight, so the StatusLine bar (and
              any %#... at the edge) extends into the column
              without a seam.
            - Between two non-current windows whose status
              fillchar is a space, use the left window's
              right-edge highlight, so the StatusLineNC bar is
              continuous across the column too.
          Cells drawn with the 'vert' character (the two windows
          do not share a status line) keep the VertSplit
          highlight as before.

          Add Test_statusline_vsep_borrow_hl with two layouts
          (NC | cur | NC | NC and NC | NC | cur | NC) so all
          three cases above are covered.

Related: #19951
Related: #20089
Related: #20167


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

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

Commit Summary

  • a5589ce statusline: blend status line highlight into adjacent vsep cells

File Changes

(3 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20182@github.com>

h_east

unread,
May 10, 2026, 11:23:57 AM (yesterday) May 10
to vim/vim, Subscribed
h-east left a comment (vim/vim#20182)

@bfrg , Rob
I believe I've confirmed that there are no problems with the procedure you reported in #20089.
Please let me know if there are any frustrating changes.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

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

h_east

unread,
May 10, 2026, 12:11:10 PM (24 hours ago) May 10
to vim/vim, Push

@h-east pushed 1 commit.

  • 04a7aa9 statusline: blend status line highlight into adjacent vsep cells


View it on GitHub or unsubscribe.


Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20182/before/a5589ce439beff4d38c44bbe719e62fd71c2457e/after/04a7aa9496fc467572cba3fda2e71b28e07a6efc@github.com>

h_east

unread,
May 10, 2026, 11:30:01 PM (12 hours ago) May 10
to vim/vim, Push

@h-east pushed 1 commit.

  • 8b1ebed Fix CI test errors (due to specification changes in this PR)


View it on GitHub or unsubscribe.


Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20182/before/04a7aa9496fc467572cba3fda2e71b28e07a6efc/after/8b1ebedd865ec89bc0903a83136632ea828faf00@github.com>

h_east

unread,
12:12 AM (12 hours ago) 12:12 AM
to vim/vim, Push

@h-east pushed 1 commit.

  • 5a790d9 Fix CI test errors (due to specification changes in this PR)


View it on GitHub or unsubscribe.


Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20182/before/8b1ebedd865ec89bc0903a83136632ea828faf00/after/5a790d9eab4cde9ec22d032c2092583020328ce4@github.com>

h_east

unread,
12:41 AM (11 hours ago) 12:41 AM
to vim/vim, Push

@h-east pushed 1 commit.

  • dcddb02 Fix CI test errors (due to specification changes in this PR)


View it on GitHub or unsubscribe.


Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20182/before/5a790d9eab4cde9ec22d032c2092583020328ce4/after/dcddb0279ac830d552adb0a41ce137ed5610a39b@github.com>

h_east

unread,
1:19 AM (11 hours ago) 1:19 AM
to vim/vim, Push

@h-east pushed 1 commit.

  • 816997f Fix CI test errors (due to specification changes in this PR)


View it on GitHub or unsubscribe.


Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20182/before/dcddb0279ac830d552adb0a41ce137ed5610a39b/after/816997f46e08fe74bbf868642138b60467f3f022@github.com>

h_east

unread,
1:53 AM (10 hours ago) 1:53 AM
to vim/vim, Push

@h-east pushed 1 commit.

  • 4557070 Fix CI test errors (due to specification changes in this PR)


View it on GitHub or unsubscribe.


Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20182/before/816997f46e08fe74bbf868642138b60467f3f022/after/4557070ac16e7d1862fa7e8848364ae8ad8aa3cb@github.com>

h_east

unread,
3:17 AM (9 hours ago) 3:17 AM
to vim/vim, Subscribed
h-east left a comment (vim/vim#20182)

Done.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

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

Reply all
Reply to author
Forward
0 new messages