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

undo change, no magically added space please, just add Spacer by default #3288

Conversation

aikomastboom
Copy link
Contributor

I believe the idea for #2996 was to be able to add a spacer if desired.

Looking ahead to #1623 I prefer to have that space filled by git status.

This PR reverts functionality to give this choice back to the user.

@aikomastboom aikomastboom force-pushed the revert-extra-gutter-offset branch from d16c082 to e365f5e Compare August 1, 2022 18:49
Copy link
Member

@the-mikedavis the-mikedavis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking ahead to #1623 I prefer to have that space filled by git status.

#1623 is a gutter component like diagnostics or line-numbers, not part of the margin

Comment on lines 121 to 123
if !gutter_types.is_empty() {
gutter_offset += 1;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a margin that's meant to separate the gutters and the code, themed as background

See #3111

@archseer
Copy link
Member

archseer commented Aug 1, 2022

See the discussion here #3111

@aikomastboom
Copy link
Contributor Author

Ah, I see.. so now we need an extra option to set the width of the margin between gutter and tekst. As the automatic adding of 1 is still reverting #2996 :)

@aikomastboom aikomastboom force-pushed the revert-extra-gutter-offset branch from e42d9ce to b2f777a Compare August 29, 2022 12:32
@aikomastboom aikomastboom force-pushed the revert-extra-gutter-offset branch from b2f777a to 986cbf6 Compare September 4, 2022 13:27
@kirawi kirawi added A-helix-term Area: Helix term improvements S-waiting-on-review Status: Awaiting review from a maintainer. labels Sep 13, 2022
@pascalkuthe
Copy link
Member

I believe this was made obsolete with the spacing changes included in #3890

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-helix-term Area: Helix term improvements S-waiting-on-review Status: Awaiting review from a maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants