Skip to content

Commit

Permalink
Merge pull request #352 from geeseven/emojicode
Browse files Browse the repository at this point in the history
add support for Emojicode
  • Loading branch information
o2sh authored Dec 20, 2020
2 parents 9a12773 + 7728237 commit 2967891
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
23 changes: 23 additions & 0 deletions resources/emojicode.ascii
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{0} ~~
{0} ~~
{0} ~~
{0} ~~{2} ''''''''
{0} ~~~{2} ''''''''''''
{0} {1}````````{2}''''''''''''''
{1} `````````{2}''''''''''''''
{1} `````````{2}'''''''''''''{3}~~~~~~~-
{1} `````````{2}'''''''''''{3}~~~~~~~~~~~
{1} ``````````{2}''{1}````````{3}~~~~~~~~~~~~
{1} ``````````````````````{3}~~~~~~~~~~~
{1} ```````````````````````{3}~~~~~~~~~~
{1} ``{3}~~~~~{1}```````````````{3}~~~~~~~~~~
{3} -~~~~~~~{1}```````````````{3}~~~~~~~~~
{3} ~~~~~~~~~{1}```````````````````````
{3} ~~~~~~~~~~{1}````````````````````````
{3} ~~~~~~~~~~~~{1}`````````````````````````
{3} ~~~~~~~~~~~~~~{1}``````{2}````````````````
{3} ~~~~~~~~~~~~~~{2}'''''''{1}```````````````
{3} ~~~~~~~~~~~~{2}''''''''{1}```````````````
{3} ~~~~~~~~{2}'''''''''''{1}``````````````
{2} {2}'''''''''''{1}````````````
{2} {2}'''''''' {1}````````
1 change: 1 addition & 0 deletions src/onefetch/language.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ define_languages! {
{ Elisp, "emacslisp.ascii", "EmacsLisp", define_colors!( [Color::Magenta, Color::White] ), "emacslisp" },
{ Elixir, "elixir.ascii", "Elixir", define_colors!( [Color::Magenta] ) },
{ Elm, "elm.ascii", "Elm", define_colors!( [Color::Blue, Color::Green, Color::Yellow, Color::Cyan] ) },
{ Emojicode, "emojicode.ascii", "Emojicode", define_colors!( [Color::Green, Color::Magenta, Color::Magenta, Color::Magenta] : [Color::TrueColor{r:119, g:178, b:85}, Color::TrueColor{r:146, g:102, b:204}, Color::TrueColor{r:170, g:141, b:216}, Color::TrueColor{r:116, g:78, b:170}] ) },
{ Erlang, "erlang.ascii", "Erlang", define_colors!( [Color::Red] ) },
{ Fish, "fish.ascii", "Fish", define_colors!( [Color::Red, Color::Yellow] ) },
{ Forth, "forth.ascii", "Forth", define_colors!( [Color::Red] ) },
Expand Down

0 comments on commit 2967891

Please sign in to comment.