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

wasmprinter: make indent character configurable #1962

Open
oovm opened this issue Dec 21, 2024 · 1 comment · May be fixed by #1963
Open

wasmprinter: make indent character configurable #1962

oovm opened this issue Dec 21, 2024 · 1 comment · May be fixed by #1963

Comments

@oovm
Copy link

oovm commented Dec 21, 2024

I find the indentation is not very noticeable when reading nested blocks.

I wish it could be increased to 8 spaces.

Do I just need to modify this place and add the configuration item:

self.result.write_str(" ")?;

@alexcrichton
Copy link
Member

Sounds reasonable to me yeah!

@oovm oovm linked a pull request Dec 23, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants