You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've figured that I can subscribe to vis.events.WIN_STATUS to get my statusline to contain exactly what I want it to, but I wish I could additionally change the background colour of the statusline according to the editor mode I'm in.
For example, the statusbar could be purple when I'm in insert mode.
Here's my best attempt at what I figure it should look like:
I've figured that I can subscribe to
vis.events.WIN_STATUS
to get my statusline to contain exactly what I want it to, but I wish I could additionally change the background colour of the statusline according to the editor mode I'm in.For example, the statusbar could be purple when I'm in insert mode.
Here's my best attempt at what I figure it should look like:
But that does nothing… no errors, just nothing. I guess I'd need to tell it to reload the style somehow, so it actually gets changed?
Is overwriting style definitions like this even supported?
Maybe I should be requesting a "mode changed" event type instead, and putting this in there?
The text was updated successfully, but these errors were encountered: