Skip to content

Commit

Permalink
New language support for protobuf with ascii image
Browse files Browse the repository at this point in the history
  • Loading branch information
HallerPatrick committed Jul 13, 2021
1 parent 4cf3600 commit 04dd387
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions resources/protobuf.ascii
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{0}
{0}
{0}
{0}
{0} {1};;;;;;;;;{0} {3}::::::::{0}
{0} {1};;;;;;;;;{0} {3}::::::::{0}
{0} {1};;;;;;;;{0} {3}::::::::{0}
{0} {2}:{1};;;;;;;{0} {3}::::::::{0}
{0} {2}:::{1};;;;;{0} {3}::::::::{0}
{0} {2}:::::{1};;;{0} {3}:::::::{0}
{0} {2}::::::{1};{0} {4};{3}:::::::{0}
{0} {2}:::::::{0} {4};;;{3}:::::{0}
{0} {2}:::::::{0} {4};;;;;{3}:::{0}
{0} {2}:::::::{0} {4};;;;;;;:{0}
{0} {2}:::::::{0} {4};;;;;;;;{0}
{0} {2}:::::::{0} {4};;;;;;;;{0}
{0} {2}::::::::{0} {4};;;;;;;{0}
{0}
{0}
{0}
1 change: 1 addition & 0 deletions src/info/language.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ define_languages! {
{ PowerShell, "powershell.ascii", define_colors!( [Color::Blue, Color::White] : [Color::TrueColor{ r:49, g:108, b:185}, Color::TrueColor{ r:255, g:255, b:255} ] ) },
{ Processing, "processing.ascii", define_colors!( [Color::Blue, Color::White] : [Color::TrueColor{ r:80, g:80 ,b:80}, Color::TrueColor{ r:255, g:255 ,b:255} ] ) },
{ Prolog, "prolog.ascii", define_colors!( [Color::White] ) },
{ Protobuf, "protobuf.ascii", define_colors!( [Color::White, Color::Red, Color::Blue, Color::Green, Color::Yellow] )},
{ PureScript, "purescript.ascii", define_colors!( [Color::White] ) },
{ Python, "python.ascii", define_colors!( [Color::Blue, Color::Yellow] : [Color::TrueColor{ r:47, g:105 ,b:162}, Color::TrueColor{ r:255, g:217 ,b:64} ] ) },
{ Qml, "qml.ascii", define_colors!( [Color::Green, Color::White, Color::Green] : [Color::TrueColor{ r:128, g:195 ,b:66}, Color::TrueColor{ r:255, g:255 ,b:255}, Color::TrueColor{ r:77, g:117 ,b:40} ] ) },
Expand Down

0 comments on commit 04dd387

Please sign in to comment.