atom-pigments icon indicating copy to clipboard operation
atom-pigments copied to clipboard

Option to parse colors not prefixed by a hashtag

Open tsgrissom opened this issue 5 years ago • 4 comments

In my project which is written in YAML, the hashtag that Pigments looks for to parse a color from a hex is invalid. It would be great to have an option to parse hex codes not prefixed by hashtags.

tsgrissom avatar Sep 13 '19 20:09 tsgrissom

Do you have an example?

Cxarli avatar Oct 06 '19 17:10 Cxarli

For example

I'd like to see an option in the Pigments setting to look for colors formatted like that and color them.

tsgrissom avatar Oct 08 '19 15:10 tsgrissom

I see. I think it'd be a bit overkill to enable this everywhere (i.e. we wouldn't want 100000 to become slightly red), but it would be nice to enable this for specific filetypes maybe. I'll remove the more-information-needed tag and see when someone has time to implement it :)

Cxarli avatar Oct 09 '19 12:10 Cxarli

Thank you! Just a simple toggle would be very helpful for editing configurations for game servers.

tsgrissom avatar Oct 09 '19 14:10 tsgrissom