Skip to content

Commit

Permalink
add qml support (#362)
Browse files Browse the repository at this point in the history
  • Loading branch information
mapau authored Dec 28, 2020
1 parent 8b540b8 commit f28c3ce
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
20 changes: 20 additions & 0 deletions resources/qml.ascii
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{0}****************************************
{0}****************************************
{0}****************************************
{0}****************************************
{0}****************************************
{0}*******{1}QQQQ{0}*****{1}MMM{0}*****{1}MMM{0}**{1}LLL{0}********
{0}*****{1}QQQQQQQQ{0}***{1}MMMM{2},{0}**{1}MMMM{2},{0}*{1}LLL{2},,{0}******
{0}****{1}QQQ{2},,,,{1}QQQ{2},{0}*{1}MMMMM{2},{1}MMMMM{2},,{1}LLL{2},,,,{0}****
{0}***{1}QQQ{2},,,,,,{1}QQQ{2},{1}MMMMMMMMMMM{2},,{1}LLL{2},,,,,,{0}**
{0}***{1}QQQ{2},,,,,,{1}QQQ{2},{1}MMM{2},{1}MMM{2},{1}MMM{2},,{1}LLL{2},,,,,,,{0}*
{0}***{1}QQQ{2},,,,,,{1}QQQ{2},{1}MMM{2},,{1}M{2},,{1}MMM{2},,{1}LLL{2},,,,,,,,
{0}****{1}QQQ{2},,,,{1}QQQ{2},,{1}MMM{2},,,,,{1}MMM{2},,{1}LLL{2},,,,,,,,
{0}*****{1}QQQQQQQQ{2},,,{1}MMM{2},,,,,{1}MMM{2},,{1}LLLLLLLL{2},,,
{0}*******{1}QQQQ{2},,,,,{1}MMM{2},,,,,{1}MMM{2},,{1}LLLLLLLL{2},,,
{0}********{2},{1}QQQQQ{2},,,,,,,,,,,,,,,,,,,,,,,,,,
{0}*********{2},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
{0}***********{2},,,,,,,,,,,,,,,,,,,,,,,,,,,,,
{0}*************{2},,,,,,,,,,,,,,,,,,,,,,,,,,,
{0}***************{2},,,,,,,,,,,,,,,,,,,,,,,,,
{0}*****************{2},,,,,,,,,,,,,,,,,,,,,,,
3 changes: 2 additions & 1 deletion src/onefetch/language.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,8 @@ define_languages! {
{ Prolog, "prolog.ascii", "Prolog", define_colors!( [Color::White] ) },
{ PureScript, "purescript.ascii", "PureScript", define_colors!( [Color::White] ) },
{ Python, "python.ascii", "Python", define_colors!( [Color::Blue, Color::Yellow] : [Color::TrueColor{ r:47, g:105 ,b:162}, Color::TrueColor{ r:255, g:217 ,b:64} ] ) },
{ R, "r.ascii", "R", define_colors!( [Color::White, Color::Blue] ) },
{ Qml, "qml.ascii", "QML", 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} ] ) },
{ R, "r.ascii", "R", define_colors!( [Color::White, Color::Blue] ) },
{ Racket, "racket.ascii", "Racket", define_colors!( [Color::Red, Color::White, Color::Blue] ) },
{
Perl6, "raku.ascii", "Raku", define_colors!( [
Expand Down

0 comments on commit f28c3ce

Please sign in to comment.