Skip to content

Commit a5f58ca

Browse files
committed
add support for GraphQL
1 parent ebc1277 commit a5f58ca

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

Diff for: resources/graphql.ascii

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{0} {}
2+
{0} {}{}{}
3+
{0} {}{}{}
4+
{0} {}{}{}{}{}
5+
{0} {}{} {}{}{} {}{}
6+
{0} {}{} {}{} {} {} {}{} {}{}
7+
{0} {}{}{}{} {} {} {}{}{}{}
8+
{0} {}{}{}{} {} {} {}{}{}{}
9+
{0} {}{}{} {} {} {}{}{}
10+
{0} {} {} {} {}
11+
{0} {} {} {} {}
12+
{0} {} {} {} {}
13+
{0} {} {} {} {}
14+
{0} {} {} {} {}
15+
{0} {} {} {} {}
16+
{0} {}{} {}{}
17+
{0} {}{}{} {}{}{}
18+
{0} {}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}
19+
{0} {}{}{}{} {}{}{}{}
20+
{0} {}{} {}{} {}{} {}{}
21+
{0} {}{} {} {}{}
22+
{0} {}{}{}{}{}
23+
{0} {}{}{}
24+
{0} {}{}{}
25+
{0} {}

Diff for: src/onefetch/language.rs

+1
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ define_languages! {
180180
{ FortranModern, "f90.ascii", "Fortran", define_colors!( [Color::White, Color::Green, Color::Cyan, Color::Yellow, Color::Red] ), "fortran" },
181181
{ FSharp, "fsharp.ascii", "F#", define_colors!( [Color::Cyan, Color::Cyan] ), "f#" },
182182
{ 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 }] ) },
183+
{ Graphql, "graphql.ascii", "GraphQL", define_colors!( [Color::Magenta] ) },
183184
{ Groovy, "groovy.ascii", "Groovy", define_colors!( [Color::Cyan, Color::White] ) },
184185
{ 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 }] ) },
185186
{ HolyC, "holyc.ascii", "HolyC", define_colors!( [Color::Yellow, Color::Cyan, Color::White] : [Color::TrueColor{ r:251, g:254 ,b:103}, Color::TrueColor{ r:11, g:68 ,b:157}, Color::TrueColor{ r:255, g:255 ,b:255} ]) },

0 commit comments

Comments
 (0)