Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Syntax highlighting #495

Open
martinszeltins opened this issue Jun 15, 2023 · 1 comment
Open

Syntax highlighting #495

martinszeltins opened this issue Jun 15, 2023 · 1 comment

Comments

@martinszeltins
Copy link

The hstr command does not seem to include syntax highlighting by default. All the text is simply white with matches in red. Is there a way to add syntax highlighting for it?

In this screenshot you can see that all the text is in white:
image

But it would be nice to see some syntax highlighting like this:
image

@dvorka dvorka self-assigned this Aug 10, 2023
@dvorka dvorka added this to the 3.2 Stabilization milestone Aug 10, 2023
@dvorka
Copy link
Owner

dvorka commented Aug 10, 2023

@martinszeltins it's actually nice idea! I will probably do that "blindly" i.e. try to highlight the the commands (it might also make hstr slower), but if it will be optional, it could be quite useful and improve UX when any user is looking for a command. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants