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

Change indentation to 2 instead of 4 #50

Closed
terlar opened this issue Sep 7, 2024 · 2 comments
Closed

Change indentation to 2 instead of 4 #50

terlar opened this issue Sep 7, 2024 · 2 comments

Comments

@terlar
Copy link
Contributor

terlar commented Sep 7, 2024

Currently the indentation is using 4 spaces, which is not aligned with d2 fmt (which is using 2 spaces).

Perhaps we should change to align or make it configurable.

@MoisMoshev
Copy link
Contributor

It's true that the width is hardcoded currently. I think normally it is a configuration variable in other modes.

@andorsk
Copy link
Owner

andorsk commented Nov 7, 2024

Addressed in #52

@andorsk andorsk closed this as completed Nov 7, 2024
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