summaryrefslogtreecommitdiff
path: root/helix-term/src
diff options
context:
space:
mode:
authorSimon H2022-04-02 08:32:36 +0000
committerGitHub2022-04-02 08:32:36 +0000
commit36d1df71fc99b0f2e3b594f9d7d0f07ef829b9fc (patch)
treebcab64eac5b2d9fa53a16fc0e1b8158623b324d8 /helix-term/src
parentffdc2f179334de82383670faed68acfc54317f55 (diff)
Added checkmarks to health.rs output, Resolves #1894 (#1918)
* Added checkmarks to health.rs output * replaced found/not found text with checkmarks
Diffstat (limited to 'helix-term/src')
-rw-r--r--helix-term/src/health.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/helix-term/src/health.rs b/helix-term/src/health.rs
index f73139fc..7f582cbf 100644
--- a/helix-term/src/health.rs
+++ b/helix-term/src/health.rs
@@ -154,8 +154,8 @@ 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("Found", Color::Green),
- false => column("Not Found", Color::Red),
+ true => column("✔", Color::Green),
+ false => column("✘", Color::Red),
}
}
@@ -263,8 +263,8 @@ 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 => "Found".green(),
- false => "Not found".red(),
+ true => "✔".green(),
+ false => "✘".red(),
};
writeln!(stdout, "{} queries: {}", feature.short_title(), found)?;