Closed obxhdx closed 3 years ago
Heyyo @obxhdx , This is definitely a fine addition to the plugin, and a perfect explanation. Thanks for this :)
Tried your version, and i haven't encountered any bugs, so merging to the main branch itself.
If you're planning on additional changes, would suggest doing that on beta
branch 😅.
Thanks again.
I really like how simple and easy to use this plugin is, compared to the alternatives. The only thing I missed was being able to define the background color of the statusline in an inactive buffer, hence this pull request.
Below are some screenshots illustrating the changes.
With these settings:
I used to get:
Now I get:
And I'm now exposing a new property called
inactive_bgcolor
that allows more control:With the settings above I get:
By default,
inactive_bgcolor
is set to"none"
, which is the same default value ofbg
, therefore I expectcall_highlights
to function in the same way as before. This should help maintain backwards compatibility.