Consistently reset color formatting in `jv_dump_term`
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Before, arrays would not reset colors after `[` and `,`, but objects would; it would reset colors twice before `]` and `}`; and some cases of indentation would have colors applied. Now, colors are reset immediately after any token that is colored, before any indentation. This makes the formatting consistent, for the benefit of custom `JQ_COLORS`.
authored by Thalia Archibald · committed by Nico Williams · parent 8a9a74d · Browse files · 1 file+13 added−22 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+13 added−22 removed
- other:+13 added−22 removed