[vim/vim] Latest expanded status line breaks plugins like lightline and airline (Issue #20948)
Doug (Vim Github Repository) <[email protected]> Wed, 05 Aug 2026 00:49:11 -0700
| Newsgroups | gmane.editors.vim.devel |
|---|---|
| Message-ID | <vim/vim/issues/[email protected]> |
----==_mimepart_6a72eaf72d497_d611805026f6 Content-Type: text/plain; charset="UTF-8" dougaak created an issue (vim/vim#20948) ### Steps to reproduce 1. Start a latest version of Vim and install status line plugins, I've tested lightline and airline in their default setup 2. `:vsplit | wincmd w` 3. Toggle some mode changes to make the status line changes, e.g. press keys: i -> Esc -> v -> Esc. You shall see that the cell under the v-split border is having incorrect color, the color of the last status line update. <img width="754" height="186" alt="Image" src="https://github.com/user-attachments/assets/37ef865a-5c16-4057-a5a6-cd7d588e3681" /> <img width="754" height="186" alt="Image" src="https://github.com/user-attachments/assets/2139dbca-2187-42fc-b5b6-880d70995914" /> <img width="754" height="186" alt="Image" src="https://github.com/user-attachments/assets/831cca97-281b-4a7c-9b20-f4a1f8ecdb3b" /> <img width="754" height="186" alt="Image" src="https://github.com/user-attachments/assets/060080b2-3089-42ff-a9fb-3babdcfd51ed" /> <img width="754" height="186" alt="Image" src="https://github.com/user-attachments/assets/6e9e3c9a-d38b-4f67-826b-1139ee7348ce" /> I'll add that the incorrect cell color will fix itself once you typed another key ### Expected behaviour The expanded status line cell under the v-split border should updates its value timely to the update of the status line. I.e., back to the previous mode sequence, the status line under the v-split border should always looks like these in any situation: <img width="944" height="186" alt="Image" src="https://github.com/user-attachments/assets/f35b792f-cc34-48a8-9dda-cc9a8e6f8db1" /> <img width="944" height="186" alt="Image" src="https://github.com/user-attachments/assets/7fefc383-f212-43e5-8d4e-78f3b0730519" /> <img width="944" height="186" alt="Image" src="https://github.com/user-attachments/assets/1c8d80be-72da-4ded-b969-19d3b0c1c1ee" /> Or at least there is a configuration to disable this status line expansion feature. ### Version of Vim 9.2.0907 ### Environment OS: Windows 11 Terminal: Windows Terminal, also able to reproduce in gVim ### Logs and stack traces ```shell ``` -- Reply to this email directly or view it on GitHub: https://github.com/vim/vim/issues/20948 You are receiving this because you are subscribed to this thread. Message ID: <vim/vim/issues/[email protected]> -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/vim/vim/issues/20948%40github.com. ----==_mimepart_6a72eaf72d497_d611805026f6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div style=3D"display: flex; flex-wrap: wrap; white-space: pre-wrap; align-= items: center; "><img height=3D"20" width=3D"20" style=3D"border-radius:50%= ; margin-right: 4px;" decoding=3D"async" src=3D"https://avatars.githubuserc= ontent.com/u/34620532" /><strong>dougaak</strong> created an issue <a href= =3D"https://github.com/vim/vim/issues/20948">(vim/vim#20948)</a></div> <h3 dir=3D"auto">Steps to reproduce</h3> <ol dir=3D"auto"> <li>Start a latest version of Vim and install status line plugins, I've tes= ted lightline and airline in their default setup</li> <li><code class=3D"notranslate">:vsplit | wincmd w</code></li> <li>Toggle some mode changes to make the status line changes, e.g. press ke= ys: i -> Esc -> v -> Esc. You shall see that the cell under the v-= split border is having incorrect color, the color of the last status line u= pdate.</li> </ol> <a href=3D"https://github.com/user-attachments/assets/37ef865a-5c16-4057-a5= a6-cd7d588e3681">Image: Image (view on web)</a> <a href=3D"https://github.com/user-attachments/assets/2139dbca-2187-42fc-b5= b6-880d70995914">Image: Image (view on web)</a> <a href=3D"https://github.com/user-attachments/assets/831cca97-281b-4a7c-9b= 20-f4a1f8ecdb3b">Image: Image (view on web)</a> <a href=3D"https://github.com/user-attachments/assets/060080b2-3089-42ff-a9= fb-3babdcfd51ed">Image: Image (view on web)</a> <a href=3D"https://github.com/user-attachments/assets/6e9e3c9a-d38b-4f67-82= 6b-1139ee7348ce">Image: Image (view on web)</a> <p dir=3D"auto">I'll add that the incorrect cell color will fix itself once= you typed another key</p> <h3 dir=3D"auto">Expected behaviour</h3> <p dir=3D"auto">The expanded status line cell under the v-split border shou= ld updates its value timely to the update of the status line. I.e., back to= the previous mode sequence, the status line under the v-split border shoul= d always looks like these in any situation:<br> <a href=3D"https://github.com/user-attachments/assets/f35b792f-cc34-48a8-9d= da-cc9a8e6f8db1">Image: Image (view on web)</a><br> <a href=3D"https://github.com/user-attachments/assets/7fefc383-f212-43e5-8d= 4e-78f3b0730519">Image: Image (view on web)</a><br> <a href=3D"https://github.com/user-attachments/assets/1c8d80be-72da-4ded-b9= 69-19d3b0c1c1ee">Image: Image (view on web)</a></p> <p dir=3D"auto">Or at least there is a configuration to disable this status= line expansion feature.</p> <h3 dir=3D"auto">Version of Vim</h3> <p dir=3D"auto">9.2.0907</p> <h3 dir=3D"auto">Environment</h3> <p dir=3D"auto">OS: Windows 11<br> Terminal: Windows Terminal, also able to reproduce in gVim</p> <h3 dir=3D"auto">Logs and stack traces</h3> <div class=3D"highlight highlight-source-shell" dir=3D"auto"><pre class=3D"= notranslate"></pre></div> <p style=3D"font-size:small;-webkit-text-size-adjust:none;color:#666;">&mda= sh;<br />Reply to this email directly, <a href=3D"https://github.com/vim/vi= m/issues/20948">view it on GitHub</a>, or <a href=3D"https://github.com/not= ifications/unsubscribe-auth/ACY5DGD7NX3UI34BJQ53B5D5ILRHPAVCNFSNUABEKJSXA33= TNF2G64TZHM2DAOJZG42DQMR3JFZXG5LFHM2TANRYGY2TKOBVGGQXMAQ">unsubscribe</a>.<= br />Triage notifications, keep track of coding agent tasks and review pull= requests on the go with GitHub Mobile for <a href=3D"https://github.com/no= tifications/mobile/ios/ACY5DGBF6YVD47A53DPOLC35ILRHPA5CNFSL4Z3JMQ5C6L3HNF2C= 22DVMIXUS43TOVSS6NJQGY4DMNJVHA2TDJTSMVQXG33OVJZXKYTTMNZGSYTFMSSWK5TFNZ2KUZT= PN52GK4S7NFXXG">iOS</a> and <a href=3D"https://github.com/notifications/mob= ile/android/ACY5DGEKUVWD4JAKO64IBKL5ILRHPA5CNFSL4Z3JMQ5C6L3HNF2C22DVMIXUS43= TOVSS6NJQGY4DMNJVHA2TDJTSMVQXG33OVJZXKYTTMNZGSYTFMSSWK5TFNZ2K4ZTPN52GK4S7MF= XGI4TPNFSA">Android</a>. Download it today! <br />You are receiving this because you are subscribed to this thread.<img= src=3D"https://github.com/notifications/beacon/ACY5DGCS3XHOBQJTDIYHQPT5ILR= HPBFCNFSM6AAAAAC44F326WWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHQAA= AAAEXB3DHLUZZGKYLTN5XKU43VMJZWG4TJMJSWI.gif" height=3D"1" width=3D"1" alt= =3D"" /><span style=3D"color: transparent; font-size: 0; display: none; vis= ibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-wid= th: 0; max-height: 0; mso-hide: all">Message ID: <span><vim/vim/issues/2= 0948</span><span>@</span><span>github</span><span>.</span><span>com></sp= an></span></p> <script type=3D"application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/vim/vim/issues/20948", "url": "https://github.com/vim/vim/issues/20948", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]</script> <p></p> -- <br /> -- <br /> You received this message from the "vim_dev" maillist.<br /> Do not top-post! Type your reply below the text you are replying to.<br /> For more information, visit <a href=3D"http://www.vim.org/maillist.php">htt= p://www.vim.org/maillist.php</a><br /> <br /> --- <br /> You received this message because you are subscribed to the Google Groups &= quot;vim_dev" group.<br /> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:[email protected]">vim_dev+uns= [email protected]</a>.<br /> To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/= vim_dev/vim/vim/issues/20948%40github.com?utm_medium=3Demail&utm_source=3Df= ooter">https://groups.google.com/d/msgid/vim_dev/vim/vim/issues/20948%40git= hub.com</a>.<br /> ----==_mimepart_6a72eaf72d497_d611805026f6--