Skip to content

Commit

Permalink
add qml support
Browse files Browse the repository at this point in the history
add qml support

add qml support

add qml support

add qml support

add qml support
  • Loading branch information
Martin Pausch committed Dec 28, 2020
1 parent 8b540b8 commit e1658c6
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
21 changes: 21 additions & 0 deletions resources/qml.ascii
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{0}::::::::::::::::::::::::::::::::::::::::
{0}::::::::::::::::::::::::::::::::::::::::
{0}::::::::::::::::::::::::::::::::::::::::
{0}::::::::::::::::::::::::::::::::::::::::
{0}::::::::::::::::::::::::::::::::::::::::
{0}::::{1}QQQQ{0}:::::{1}MMMM{0}::::{1}MMM{2}_{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}QQQQ{2}.:{1}MMMMM{2}.{1}MMMMM{2}_..{1}LLL{2}....{0}::::::
{1}QQQQ{2}...{1}QQQQ{2}..{1}MMMMMMMMMMM{2}_{2}..{1}LLL{2}......{0}::::
{1}QQQ{2}_....{1}QQQ{2}..{1}MMM{2}.{1}MMM{2}.{1}MMM{2}_..{1}LLL{2}........{0}::
{1}QQQQ{2}..._{1}QQQ{2}..{1}MMM{2}.:{1}MM{2}.{1}MMM{2}_..{1}LLL{2}.........{0}:
{0}:{1}QQQ{2}...{1}QQQQ{2}..{1}MMM{2}..{1}M{2}..{1}MMM{2}_..{1}LLL{2}..........
{0}:{1}QQQQQQQQQ{2}...{1}MMM{2}.....{1}MMM{2}_..{1}LLLLLLLL{2}.....
{0}:::{1}QQQQQ{2}.....{1}MMM{2}.....{1}MMM{2}_..{1}LLLLLLLL{2}.....
{0}::::: {1}QQQQQ{2}.............................
{0}::::::{2}.{1}QQQ{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, Color::Red] ) },
{ Racket, "racket.ascii", "Racket", define_colors!( [Color::Red, Color::White, Color::Blue] ) },
{
Perl6, "raku.ascii", "Raku", define_colors!( [
Expand Down

0 comments on commit e1658c6

Please sign in to comment.