on master help sign in
Reduce health tick width

Use the same tick as book to reduce margin of whitespace errors.

commitdd2b9e55a20be4db7b7c5ed72f9760b0ad4d719c authorIvan Tham <pickfire@riseup.net> dateMon 22 Aug 2022, 21:39 (4 years ago) parentf32f451
1 file changed+3−3
helix-term/src/health.rs+3−3
helix-term/src/health.rs+3−3
@@ -142,7 +142,7 @@ pub fn languages_all() -> std::io::Result<()> {
142142
143143 let check_binary = |cmd: Option<String>| match cmd {
144144 Some(cmd) => match which::which(&cmd) {
145− Ok(_) => column(&format!("✔ {}", cmd), Color::Green),
145+ Ok(_) => column(&format!("✓ {}", cmd), Color::Green),
146146 Err(_) => column(&format!("✘ {}", cmd), Color::Red),
147147 },
148148 None => column("None", Color::Yellow),
@@ -162,7 +162,7 @@ pub fn languages_all() -> std::io::Result<()> {
162162
163163 for ts_feat in TsFeature::all() {
164164 match load_runtime_file(&lang.language_id, ts_feat.runtime_filename()).is_ok() {
165− true => column("✔", Color::Green),
165+ true => column("✓", Color::Green),
166166 false => column("✘", Color::Red),
167167 }
168168 }
@@ -271,7 +271,7 @@ fn probe_treesitter_feature(lang: &str, feature: TsFeature) -> std::io::Result<(
271271 let mut stdout = stdout.lock();
272272
273273 let found = match load_runtime_file(lang, feature.runtime_filename()).is_ok() {
274− true => "✔".green(),
274+ true => "✓".green(),
275275 false => "✘".red(),
276276 };
277277 writeln!(stdout, "{} queries: {}", feature.short_title(), found)?;