-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Configurable indentation size #77
Comments
yes and a tabs option please |
While it has been configurable for a while using |
|
Yep sorry, that was an oversight on my side :/ |
Ah I see, makes sense! I guess for that we should use editorconfig's |
I want to work on this issues please assign me this issue. |
@omkumar312 Thanks! If you need any help, feel free to also join the Nix Formatting Matrix room. Note also that there's already an open draft PR for this: #209 |
Command-Line Option: Introduce a flag, such as --indent, that allows users to set their preferred indentation size. example of usage: 'nixfmt --indent 4' Keep the default indentation at two spaces for compatibility but enable users to choose four spaces if they prefer. |
I prefer to indent my Nix expressions with four spaces rather than two as I find it more readable. It'd be nice to have this as a command-line option you can specify, with two as the default.
The text was updated successfully, but these errors were encountered: