-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add indentation. #3
base: main
Are you sure you want to change the base?
Conversation
@mame, any change you can review and merge this? I'd love to have the new changes for my projects. Thanks! |
Thank you, but I'm a little cautious about this feature though. This is because I think of some variants on the possible indentation style.
I should research what other major TOML encoder implementations offer in terms of formatting options. |
If you would prefer to use the nested indent schema, I could see about making that work and updating this merge request. I don't have a huge preference about indentation. Either option 1 or 3 would be fine. Any indentation will be better than no indentation. |
Hey @mame, just checking in to see if you had any further input on this. I really would like to have indentation added soon so I don't have to fork and push a new gem just to add the feature to my project. Is there a specific indentation format I can implement which you would merge? |
Any updates here? |
@paddor , there was no movement so I published my own version of the gem which includes the indentation changes. I plan on deleting it if/when indentation support gets added to perfect_toml, so don't depend on it unless you are okay with it vanishing in the future. |
@bemehiser Thanks for the info. |
Add the ability to specify indentation.