From dd2b9e55a20be4db7b7c5ed72f9760b0ad4d719c Mon Sep 17 00:00:00 2001 From: Ivan Tham Date: Mon, 22 Aug 2022 21:39:44 +0800 Subject: 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 6d49105a..4a266e48 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)?; -- cgit v1.2.3-70-g09d2