summaryrefslogtreecommitdiff
path: root/helix-term/src/health.rs
diff options
context:
space:
mode:
authorIvan Tham2022-08-22 13:39:44 +0000
committerMichael Davis2022-08-23 00:27:26 +0000
commitdd2b9e55a20be4db7b7c5ed72f9760b0ad4d719c (patch)
tree88face7fc4ba9adb0055440a5e9d9314a1358db6 /helix-term/src/health.rs
parentf32f451b98daa0af997fa1ebd3926403cd59870d (diff)
Reduce health tick width
Use the same tick as book to reduce margin of whitespace errors.
Diffstat (limited to 'helix-term/src/health.rs')
-rw-r--r--helix-term/src/health.rs6
1 files 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<String>| 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)?;