* Added checkmarks to health.rs output * replaced found/not found text with checkmarks
This commit is contained in:
parent
ffdc2f1793
commit
36d1df71fc
1 changed files with 4 additions and 4 deletions
|
@ -154,8 +154,8 @@ pub fn languages_all() -> std::io::Result<()> {
|
||||||
|
|
||||||
for ts_feat in TsFeature::all() {
|
for ts_feat in TsFeature::all() {
|
||||||
match load_runtime_file(&lang.language_id, ts_feat.runtime_filename()).is_ok() {
|
match load_runtime_file(&lang.language_id, ts_feat.runtime_filename()).is_ok() {
|
||||||
true => column("Found", Color::Green),
|
true => column("✔", Color::Green),
|
||||||
false => column("Not Found", Color::Red),
|
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 mut stdout = stdout.lock();
|
||||||
|
|
||||||
let found = match load_runtime_file(lang, feature.runtime_filename()).is_ok() {
|
let found = match load_runtime_file(lang, feature.runtime_filename()).is_ok() {
|
||||||
true => "Found".green(),
|
true => "✔".green(),
|
||||||
false => "Not found".red(),
|
false => "✘".red(),
|
||||||
};
|
};
|
||||||
writeln!(stdout, "{} queries: {}", feature.short_title(), found)?;
|
writeln!(stdout, "{} queries: {}", feature.short_title(), found)?;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue