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

consider making some aspects customizable #387

Open
quantenzitrone opened this issue Mar 31, 2023 · 1 comment
Open

consider making some aspects customizable #387

quantenzitrone opened this issue Mar 31, 2023 · 1 comment
Labels
component | style Modifications to the formatting rules roadmap | style config status | it is a good thing We agree it is good to implement this type | feature request New feature or request

Comments

@quantenzitrone
Copy link

First of all, BIG THANKS.
I really LOVE the alejandra style, alejandra makes writing nix code so much more fun and consistent.

Tho, it would be nice to be able to configure some aspects.
Some aspects that one might want to configure:

  • indentation: tabs or x spaces
    • indentation is a controversial topic, and while i get along the alejandra 2 space style with using this vscode extension, something like this is not available for every editor and i don't like being forced a specific indentation style
  • maximum line length
    • I'm not sure if alejandra even has this at the moment, but there is at least one issue addressing this topic and if maximum line length is or will be a rule, i would like this to be customizable too
@wildwestrom
Copy link

wildwestrom commented Jul 4, 2023

I was also wondering why my indentation settings weren't working.
Yeah, seems like it's just spaces.

Please either close this as "won't fix" or consider allowing for this so one of us can implement it.

@kamadorueda kamadorueda added type | feature request New feature or request component | style Modifications to the formatting rules status | it is a good thing We agree it is good to implement this roadmap | style config labels Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component | style Modifications to the formatting rules roadmap | style config status | it is a good thing We agree it is good to implement this type | feature request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants