From 7c7ae503b0053d4a8bd0bf6021159d55ed37c558 Mon Sep 17 00:00:00 2001 From: Ivan Tham Date: Mon, 22 Aug 2022 21:39:44 +0800 Subject: [PATCH] Reduce health tick width Use the same tick as book to reduce margin of whitespace errors. --- helix-term/src/health.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/helix-term/src/health.rs b/helix-term/src/health.rs index 6d49105a3e950..4a266e481d5ed 100644 --- a/helix-term/src/health.rs +++ b/helix-term/src/health.rs @@ -142,7 +142,7 @@ pub fn languages_all() -> std::io::Result<()> { let check_binary = |cmd: Option| match cmd { Some(cmd) => match which::which(&cmd) { - Ok(_) => column(&format!("✔ {}", cmd), Color::Green), + Ok(_) => column(&format!("✓ {}", cmd), Color::Green), Err(_) => column(&format!("✘ {}", cmd), Color::Red), }, None => column("None", Color::Yellow), @@ -162,7 +162,7 @@ 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("✔", Color::Green), + true => column("✓", Color::Green), false => column("✘", Color::Red), } } @@ -271,7 +271,7 @@ 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 => "✔".green(), + true => "✓".green(), false => "✘".red(), }; writeln!(stdout, "{} queries: {}", feature.short_title(), found)?;