Skip to content

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