Closed Hacksore closed 1 year ago
0.9.1
linux
any
zsh autosuggestion colors are forced black in a terminal buffer.
peep the bug repo and steps as follows.
docker run -it hacksore/astro-zsh-bug
nvim
:terminal
zsh
brew help
brew
You should see the black text now after brew in the suggestions
you should have the normal color respected by ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE in my case:
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE
export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=8"
what the bug looks like
How it should look
I did some digging and think the cause is astrotheme related as this didn't happen in v1.
v1
wow if I use a hex color it solves this 💀
# make new astro theme work export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#5e5e5e"
Checklist
Neovim version (nvim -v)
0.9.1
Operating system/version
linux
Terminal/GUI
any
Describe the bug
zsh autosuggestion colors are forced black in a terminal buffer.
Steps to Reproduce
peep the bug repo and steps as follows.
docker run -it hacksore/astro-zsh-bug
nvim
:terminal
zsh
brew help
brew
You should see the black text now after
brew
in the suggestionsExpected behavior
you should have the normal color respected by
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE
in my case:Screenshots
what the bug looks like
How it should look
Additional Context
I did some digging and think the cause is astrotheme related as this didn't happen in
v1
.