You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rather than adding all the code/logic to the gem for this, perhaps changing #write to take an optional block and pass some context info so the app can intervene as desired.
The text was updated successfully, but these errors were encountered:
I apologize, but I'm not exactly clear on what you're asking for. There is no 'indentation' in the example above. Perhaps if you put the code within a <pre>...</pre> bock it would be more clear. For example, this is what I assume you mean:
I'd like to see a way to configure the indentation amount per [nested] group. E.g., set it to 4 and #write might emit
global_param = 1
[main]
main_param = 2
[sub1]
main_sub1_param = 3
Rather than adding all the code/logic to the gem for this, perhaps changing #write to take an optional block and pass some context info so the app can intervene as desired.
The text was updated successfully, but these errors were encountered: