Skip to content
Discussion options

You must be logged in to vote

Thanks for clarifying. You're right: changing the whole bar's theme doesn't solve mixing colors within it.

I checked the upstream 2.0.15 renderer. For the ordinary status line, it substitutes $() values, selects one statusLineStyle, and passes that same style to screen.SetContent for the characters on both sides. There isn't a per-field color directive in that path. It also doesn't parse ANSI/SGR escapes there, so I shouldn't suggest embedding them as a supported solution.

For stock 2.0.15, different colors within statusformatl aren't available through the colorscheme or format-string settings alone. A Lua status function returning text doesn't add styling metadata either. This would need…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Chlebqowy
Comment options

@abderrahimchadli
Comment options

Answer selected by Chlebqowy
@Chlebqowy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants