on master help sign in
Reduce health tick width
dd2b9e5Ivan Tham
helix-term/src/health.rs+3−3
@@ -142,7 +142,7 @@ pub fn languages_all() -> std::io::Result<()> {
142
142
143 let check_binary = |cmd: Option<String>| match cmd {
143 let check_binary = |cmd: Option<String>| match cmd {
144 Some(cmd) => match which::which(&cmd) {
144 Some(cmd) => match which::which(&cmd) {
145− Ok(_) => column(&format!("✔ {}", cmd), Color::Green),
145+ Ok(_) => column(&format!("✓ {}", cmd), Color::Green),
146 Err(_) => column(&format!("✘ {}", cmd), Color::Red),
146 Err(_) => column(&format!("✘ {}", cmd), Color::Red),
147 },
147 },
148 None => column("None", Color::Yellow),
148 None => column("None", Color::Yellow),
@@ -162,7 +162,7 @@ pub fn languages_all() -> std::io::Result<()> {
162
162
163 for ts_feat in TsFeature::all() {
163 for ts_feat in TsFeature::all() {
164 match load_runtime_file(&lang.language_id, ts_feat.runtime_filename()).is_ok() {
164 match load_runtime_file(&lang.language_id, ts_feat.runtime_filename()).is_ok() {
165− true => column("✔", Color::Green),
165+ true => column("✓", Color::Green),
166 false => column("✘", Color::Red),
166 false => column("✘", Color::Red),
167 }
167 }
168 }
168 }
@@ -271,7 +271,7 @@ fn probe_treesitter_feature(lang: &str, feature: TsFeature) -> std::io::Result<(
271 let mut stdout = stdout.lock();
271 let mut stdout = stdout.lock();
272
272
273 let found = match load_runtime_file(lang, feature.runtime_filename()).is_ok() {
273 let found = match load_runtime_file(lang, feature.runtime_filename()).is_ok() {
274− true => "✔".green(),
274+ true => "✓".green(),
275 false => "✘".red(),
275 false => "✘".red(),
276 };
276 };
277 writeln!(stdout, "{} queries: {}", feature.short_title(), found)?;
277 writeln!(stdout, "{} queries: {}", feature.short_title(), found)?;