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

Respect user whitespace #214

Open
lukakoning opened this issue Feb 8, 2025 · 2 comments
Open

Respect user whitespace #214

lukakoning opened this issue Feb 8, 2025 · 2 comments

Comments

@lukakoning
Copy link

I like to add whitespace to separate sections and keep longer scrips readable, e.g.,

#### Section 1 ####
...



#### Section 2 ####
....

Upon formatting, these 3 empty lines get changed to 1; imo, this then reduces readability significantly.

Would there be some way to have Air respect these empty lines?

@lionel-
Copy link
Collaborator

lionel- commented Feb 10, 2025

I also think we should respect at least 2 empty lines so that users can section their code. @wch made this comment at workweek as well IIRC.

@DavisVaughan
Copy link
Collaborator

Related to #40

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

No branches or pull requests

3 participants