Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Added checkmarks to health.rs output, Resolves #1894 #1918

Merged
merged 2 commits into from
Apr 2, 2022
Merged

Added checkmarks to health.rs output, Resolves #1894 #1918

merged 2 commits into from
Apr 2, 2022

Conversation

Simon-Hostettler
Copy link
Contributor

For the Highlight, Textobject and Indent columns, health.rs now additionally prints either ✓ or ✘. This is in response to Issue #1894

@@ -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 => "Found ✓".green(),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could replace the text with symbols altogether? \cc @sudormrfbin

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added this change in commit 96a1027

Copy link
Member

@sudormrfbin sudormrfbin Apr 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought just the symbol would make it look less readable, but it looks good 👍🏾

@archseer archseer merged commit 36d1df7 into helix-editor:master Apr 2, 2022
@sudormrfbin
Copy link
Member

This doesn't address the actual issue in #1894 though, which was to add the checkmarks to the the LSP and DAP binary names (2nd and 3rd columns).

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants