Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix statusbar spacing #1205

Merged
merged 2 commits into from
Apr 15, 2023
Merged

Fix statusbar spacing #1205

merged 2 commits into from
Apr 15, 2023

Conversation

joelim-work
Copy link
Collaborator

@joelim-work joelim-work commented Apr 10, 2023

I saw #1168 had been merged recently so I decided to try it out.

While the different components can be customised, I noticed that the spacing between them sometimes have issues because they stilll follow the previous implementation where the statusbar contents were fixed. For example with set ruler 'ind:acc' there is no spacing between the two components because the previous implementation always had acc on the left hand side. I have changed the code to store all the components (without any spacing) into an array and then finally join them into a single string at the end.

Also the ruler option currently allows tot to be specified, altthough it isn't a valid field. I assume it was added by accident.

@gokcehan
Copy link
Owner

@joelim-work Looks good, thanks for the patch.

@gokcehan gokcehan merged commit c0dfb3c into gokcehan:master Apr 15, 2023
@joelim-work joelim-work deleted the fix-statusbar-spacing branch April 17, 2023 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants