From 3fb1aa4ae032c5c5fc69d44b7b3c6566605fb7d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Boh=C3=A1=C4=8Dek?= Date: Sat, 2 Sep 2023 15:41:57 +0200 Subject: [PATCH] fix: make all matching colors lowercase --- src/comment_parser.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/comment_parser.rs b/src/comment_parser.rs index db12cff..4107614 100644 --- a/src/comment_parser.rs +++ b/src/comment_parser.rs @@ -62,9 +62,9 @@ impl CommentParser { "yellow" => DisplayColor::Yellow, "green" => DisplayColor::Green, "blue" => DisplayColor::Blue, - "Indigo" => DisplayColor::Indigo, - "Violet" => DisplayColor::Violet, - "Cycle" => DisplayColor::Cycle, + "indigo" => DisplayColor::Indigo, + "violet" => DisplayColor::Violet, + "cycle" => DisplayColor::Cycle, _ => return None, }) } -- 2.48.1