fast-syntax-highlighting
fast-syntax-highlighting copied to clipboard
[bug]: Comments are invisible
Describe the bug
Comments are invisible.
Steps to reproduce
- Install and source
~/path/to/fsh/fast-syntax-highlighting.plugin.zsh
. - 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.
For me the following worked:
FAST_HIGHLIGHT_STYLES[comment]='fg=006'