Skip to content

Commit

Permalink
replaced found/not found text with checkmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-Hostettler committed Apr 1, 2022
1 parent 9aff621 commit 96a1027
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions helix-term/src/health.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ pub fn languages_all() -> std::io::Result<()> {

for ts_feat in TsFeature::all() {
match load_runtime_file(&lang.language_id, ts_feat.runtime_filename()).is_ok() {
true => column("Found ✓", Color::Green),
false => column("Not Found ✘", Color::Red),
true => column("", Color::Green),
false => column("✘", Color::Red),
}
}

Expand Down Expand Up @@ -263,8 +263,8 @@ fn probe_treesitter_feature(lang: &str, feature: TsFeature) -> std::io::Result<(
let mut stdout = stdout.lock();

let found = match load_runtime_file(lang, feature.runtime_filename()).is_ok() {
true => "Found ✓".green(),
false => "Not found ✘".red(),
true => "".green(),
false => "✘".red(),
};
writeln!(stdout, "{} queries: {}", feature.short_title(), found)?;

Expand Down

0 comments on commit 96a1027

Please sign in to comment.