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

[bug]: Comments are invisible #54

Open
basilioss opened this issue May 7, 2023 · 1 comment
Open

[bug]: Comments are invisible #54

basilioss opened this issue May 7, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@basilioss
Copy link

Describe the bug

Comments are invisible.

Steps to reproduce

  1. Install and source ~/path/to/fsh/fast-syntax-highlighting.plugin.zsh.
  2. Open the terminal prompt and type # comment.

Expected behavior

There should be an option to change comment highlight style but I haven't found it.

Screenshots and recordings

No response

Operating System & Version

linux-gnu | pc | x86_64 | x86_64 | x86_64 unknown

Zsh version

zsh 5.9 (x86_64-pc-linux-gnu)

Terminal emulator

alacritty

If using WSL on Windows, which version of WSL

None

Additional context

I tried to use different themes with the fast-theme -t command, but it doesn't change the comment color. I also tried to look at the source code and find an alternative to ZSH_HIGHLIGHT_STYLES[comment]='fg=#414868' but FAST_HIGHLIGHT_STYLES[comment]='fg=#414868' also does not work.

@basilioss basilioss added the bug Something isn't working label May 7, 2023
@mcornella
Copy link

For me the following worked:

FAST_HIGHLIGHT_STYLES[comment]='fg=006'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants