From ed4c5f1e6d2ba4bc8171e5b39c6d1d5851586863 Mon Sep 17 00:00:00 2001 From: Ferry Date: Sat, 7 Nov 2020 20:09:16 -0500 Subject: [PATCH] Added Support for HolyC --- resources/holyc.ascii | 24 ++++++++++++++++++++++++ src/onefetch/language.rs | 1 + 2 files changed, 25 insertions(+) create mode 100644 resources/holyc.ascii diff --git a/resources/holyc.ascii b/resources/holyc.ascii new file mode 100644 index 000000000..2cada8be3 --- /dev/null +++ b/resources/holyc.ascii @@ -0,0 +1,24 @@ +{0} ++++++ +{0} ++++++++++++ +{0} ++++++++++++++++++++ +{0} ++++++++++++++++++++++++++ +{0} ++++++++++++++++++++++++++++++++ +{0} +++++++++++++ +++++++++++++ +{0}+++++++++++ ++++++++{1}::: +{0}+++++++++ ++{1}::::::: +{0}++++++++ ++++++ {1}::::::::::: +{0}+++++++ ++++++++++ {1}::::: :::::: +{0}+++++++ +++++++++{1}::::::: :::: +{0}+++++++ +++++++{1}:::::::::::: :::::: +{0}+++++++ +++{1}::::::::::::::: :::::: +{0}+++++++ {1}:::::::::: ::::: :::::: +{0}++++++++ {1}:::::: ::::::::::: +{0}++++++{1}::: ::::::::: +{0}+++{1}:::::::: ::::::::::: +{1} ::::::::::::: ::::::::::::: +{1} :::::::::::::::::::::::::::::::: +{1} :::::::::::::::::::::::::: +{1} :::::::::::::::::::: +{1} :::::::::::: +{1} :::::: + diff --git a/src/onefetch/language.rs b/src/onefetch/language.rs index c01db4abe..480c1872d 100644 --- a/src/onefetch/language.rs +++ b/src/onefetch/language.rs @@ -188,6 +188,7 @@ define_languages! { { Go, "go.ascii", "Go", define_colors!( [Color::Cyan, Color::White, Color::Yellow] : [Color::TrueColor{ r:116, g:205, b:221 }, Color::TrueColor{ r:255, g:255, b:255 }, Color::TrueColor{ r:246, g:210, b:162 }] ) }, { Groovy, "groovy.ascii", "Groovy", define_colors!( [Color::Cyan, Color::White] ) }, { Haskell, "haskell.ascii", "Haskell", define_colors!( [Color::Cyan, Color::Magenta, Color::Blue] : [Color::TrueColor{ r:69, g:58, b:98 }, Color::TrueColor{ r:94, g:80, b:134 }, Color::TrueColor{ r:143, g:78, b:139 }] ) }, + { HolyC, "holyc.ascii", "HolyC", define_colors!( [Color::Yellow, Color::White] ), "holyc" }, { Html, "html.ascii", "HTML", define_colors!( [Color::Red, Color::White] ) }, { Idris, "idris.ascii", "Idris", define_colors!( [Color::Red] ) }, { Java, "java.ascii", "Java", define_colors!( [Color::Red, Color::Blue] : [Color::TrueColor{ r:244, g:67 ,b:54}, Color::TrueColor{ r:22, g:101 ,b:192} ] ) },