-
Notifications
You must be signed in to change notification settings - Fork 778
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
Add lexer/syntax highlighting to visually distinguish the different components of a command #27
Comments
I think this would be great. The only concern I have, as you mentioned in your TODO, is being able to have color themes. Either that or ensuring the color theme is neutral enough (for now) that it works for both dark and light backgrounds. |
I tried a few themes on white background--some work better than others, which I think is expected. I'll do some more tweaks to try to make the lexer more neutral, at least for the default theme. I've hooked it up so that setting Below are the supported themes:
|
I updated the initial comment with the proposed UI. |
Implements #27: Add lexer/syntax highlighting.
Implementation merged in 9149483. |
A lexer would make it easier to visually distinguish the different components of a command:
Config File
Default theme: vim
Disable Syntax Highlighting
Sample: Dark Background
Samples: Light Background
Note: My terminal colors are customized which might be why we see light gray for
aws>
.The text was updated successfully, but these errors were encountered: