(mini.statusline): Zero padding for the section locations. #1103
wroyca
started this conversation in
Show and tell
Replies: 1 comment 11 replies
-
|
Nice little adjustment! Couple of feedback points:
|
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Here's a little adjustment to zero-pad the section locations on the statusline. The rationale here is to avoid the component resizing continuously when moving from 10-* to 1-9 (e.g., line beginning); I also added some (optional) additional whitespace padding for the separator, making it less awkward in placement and more in line with the mode indicator visual; figured I'd share it as a snippet for anyone that'd wish to have that:
Before:
After:
Beta Was this translation helpful? Give feedback.
All reactions