-
Notifications
You must be signed in to change notification settings - Fork 211
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
Encoder ignores table indentation on array tables #888
Comments
@Felixoid merged a patch for this. It should now indent array tables as you expect. Feel free to reopen and let me know if it doesn't work for you! |
Thanks, it works. But do you think it's an error or a new design? Looks strange to me, and feels like the comment
The code is in 61d5d11 |
You're right it seems wrong. I think the comment decorating the array table should be aligned with it. |
Looks like an easy fix, #892 |
Describe the bug
Follow up from #786. In https://go.dev/play/p/i30ktekXzYD, array tables are not indented even though the option has been enabled.
To Reproduce
Steps to reproduce the behavior. Including TOML files.
https://go.dev/play/p/EjEVbGp7xKD
Expected behavior
Output should be:
Versions
The text was updated successfully, but these errors were encountered: