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

Consistently reset color formatting #3034

Merged
merged 4 commits into from
Feb 8, 2024

Commits on Feb 7, 2024

  1. Consistently reset color formatting in jv_dump_term

    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`.
    thaliaarchi committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    d997b39 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dc69571 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ccebd8e View commit details
    Browse the repository at this point in the history
  4. Add missing string color case

    Colors have a color separate from object keys, so were not tested.
    thaliaarchi committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    d360c5c View commit details
    Browse the repository at this point in the history