Allow configurable indent size rather than enforced #4707
alpheusmtx
started this conversation in
Ideas & suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, Gleam enforces a 2-space indentation for all code. However, I think this is hard to read (for me) as I always use 4-space indentation in my projects. I believe that the Gleam formatter would be better by supporting different configuration, rather than enforcing a fixed style. Ideally, this could be set via the
gleam.toml
file or passed as a flag to the CLI, such as--indent
or--indent-size
.Beta Was this translation helpful? Give feedback.
All reactions