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

Format comments with a gray foreground #2182

Merged
merged 2 commits into from
Nov 16, 2024

Conversation

gabe565
Copy link
Contributor

@gabe565 gabe565 commented Oct 29, 2024

Hey! I adore yq, but it always bugged me that it didn't format comments, so I added comment formatting support to the goccy printer goccy/go-yaml#469. That PR has now been merged, so this PR updates github.com/goccy/go-yaml and related dependencies, and adds a printer rule to print comments in gray (color.FgHiBlack).

Comparison:
image

@mikefarah
Copy link
Owner

Looks good but the build is failing

@mikefarah mikefarah merged commit 6a43f17 into mikefarah:master Nov 16, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants