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

Indentation of long structs disagrees with DrRacket #60

Open
jackfirth opened this issue Aug 10, 2024 · 0 comments
Open

Indentation of long structs disagrees with DrRacket #60

jackfirth opened this issue Aug 10, 2024 · 0 comments

Comments

@jackfirth
Copy link
Contributor

This code:

(struct some-struct-type
  (some-long-field another-long-field yet-another-long-field one-last-long-field)
  #:transparent)

is currently reformatted to this:

(struct some-struct-type
        (some-long-field another-long-field yet-another-long-field one-last-long-field)
  #:transparent)

However, this disagrees with DrRacket's indenter. DrRacket prefers the first form and I tend to agree with that choice. In general, I think fmt and DrRacket should avoid fighting each other in their default settings.

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

1 participant