Skip to content

Commit

Permalink
fixed whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
KasraF committed Nov 5, 2019
1 parent 77febb2 commit 7909622
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/language.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub enum Language {
Lua,
Markdown,
Nim,
OCaml,
OCaml,
ObjectiveC,
Perl,
Php,
Expand Down Expand Up @@ -87,7 +87,7 @@ impl std::fmt::Display for Language {
Language::Lua => write!(f, "Lua"),
Language::Markdown => write!(f, "Markdown"),
Language::Nim => write!(f, "Nim"),
Language::OCaml => write!(f, "OCaml"),
Language::OCaml => write!(f, "OCaml"),
Language::ObjectiveC => write!(f, "Objective-C"),
Language::PureScript => write!(f, "PureScript"),
Language::Python => write!(f, "Python"),
Expand Down Expand Up @@ -143,7 +143,7 @@ impl From<tokei::LanguageType> for Language {
tokei::LanguageType::Lua => Language::Lua,
tokei::LanguageType::Markdown => Language::Markdown,
tokei::LanguageType::Nim => Language::Nim,
tokei::LanguageType::OCaml => Language::OCaml,
tokei::LanguageType::OCaml => Language::OCaml,
tokei::LanguageType::ObjectiveC => Language::ObjectiveC,
tokei::LanguageType::Prolog => Language::Prolog,
tokei::LanguageType::Perl => Language::Perl,
Expand Down Expand Up @@ -198,7 +198,7 @@ impl Language {
Language::Lua => include_str!("../resources/lua.ascii"),
Language::Markdown => include_str!("../resources/markdown.ascii"),
Language::Nim => include_str!("../resources/nim.ascii"),
Language::OCaml => include_str!("../resources/ocaml.ascii"),
Language::OCaml => include_str!("../resources/ocaml.ascii"),
Language::ObjectiveC => include_str!("../resources/objectivec.ascii"),
Language::Perl => include_str!("../resources/perl.ascii"),
Language::Php => include_str!("../resources/php.ascii"),
Expand Down Expand Up @@ -264,7 +264,7 @@ impl Language {
Language::Lua => vec![Color::Blue],
Language::Markdown => vec![Color::BrightWhite, Color::BrightRed],
Language::Nim => vec![Color::Yellow, Color::BrightWhite],
Language::OCaml => vec![Color::Yellow],
Language::OCaml => vec![Color::Yellow],
Language::ObjectiveC => vec![Color::BrightBlue, Color::Blue],
Language::Perl => vec![Color::BrightBlue],
Language::Php => vec![Color::BrightWhite],
Expand Down Expand Up @@ -372,7 +372,7 @@ fn get_all_language_types() -> Vec<tokei::LanguageType> {
tokei::LanguageType::Lua,
tokei::LanguageType::Markdown,
tokei::LanguageType::Nim,
tokei::LanguageType::OCaml,
tokei::LanguageType::OCaml,
tokei::LanguageType::ObjectiveC,
tokei::LanguageType::Perl,
tokei::LanguageType::Php,
Expand Down

0 comments on commit 7909622

Please sign in to comment.