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

Quote hex color codes because # is special (comment char) in YAML #3742

Closed
wants to merge 3 commits into from

Conversation

smendola
Copy link

@smendola smendola commented Apr 6, 2025

I found that lines such as:
user-input-color: #00cc00
such as you would get by simply uncommenting commented defaults in the yaml config file were being ignored. This turns out to be because # is special in YAML, being the comment character.

I am sure others have been stumped and annoyed by this.
I simply added double quotes around the color codes e.g. "#30FF90" in the sample config file.

@paul-gauthier
Copy link
Collaborator

Thanks for your interest in aider and for taking the time to make this PR.

I fixed this a different way.

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.

3 participants