Skip to content

Commit

Permalink
Add TOML language support (#496)
Browse files Browse the repository at this point in the history
* Add TOML language support

* change colors

Co-authored-by: o2sh <ossama-hjaji@live.fr>
  • Loading branch information
dnaka91 and o2sh authored Oct 1, 2021
1 parent 81e3a03 commit 484b9e4
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions resources/toml.ascii
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{0}[[[[[[[[ ]]]]]]]]
{0}[[[[[[[[ ]]]]]]]]
{0}[[[[ ]]]]
{0}[[[[ {1}TTTTTTTTTTTTTTTT{0} ]]]]
{0}[[[[ {1}TTTTTTTTTTTTTTTT{0} ]]]]
{0}[[[[ {1}TTTT{0} ]]]]
{0}[[[[ {1}TTTT{0} ]]]]
{0}[[[[ {1}TTTT{0} ]]]]
{0}[[[[ {1}TTTT{0} ]]]]
{0}[[[[ {1}TTTT{0} ]]]]
{0}[[[[ {1}TTTT{0} ]]]]
{0}[[[[ {1}TTTT{0} ]]]]
{0}[[[[ {1}TTTT{0} ]]]]
{0}[[[[ {1}TTTT{0} ]]]]
{0}[[[[ {1}TTTT{0} ]]]]
{0}[[[[ {1}TTTT{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 @@ -265,6 +265,7 @@ define_languages! {
},
{ Tcl, "tcl.ascii", define_colors!( [Color::Blue, Color::White, Color::Cyan] ) },
{ Tex, "tex.ascii", define_colors!( [Color::White, Color::Black] ) },
{ Toml, "toml.ascii", define_colors!( [Color::Red, Color::White] : [Color::TrueColor{ r:156, g:66, b:33}, Color::TrueColor{ r:255, g:255, b:255} ]) },
{ Tsx, "tsx.ascii", define_colors!( [Color::Blue] ) },
{ TypeScript, "typescript.ascii", define_colors!( [Color::Cyan, Color::White] : [Color::TrueColor{ r:0, g:122, b:204}, Color::TrueColor{ r:255, g:255, b:255} ]) },
{ Vala, "vala.ascii", define_colors!( [Color::Magenta, Color::White] ) },
Expand Down

0 comments on commit 484b9e4

Please sign in to comment.