zsh-users / zsh-autosuggestions

Fish-like autosuggestions for zsh
MIT License
30.95k stars 1.86k forks source link

Suggestion color not changing when FORCE_FLOAT is set #565

Open MaxVanDeursen opened 3 years ago

MaxVanDeursen commented 3 years ago

Describe the bug

Whenever FORCE_FLOAT is set, the coloring of the suggestion set with ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE is ignored and instead the default coloring is used.

To Reproduce

Steps to reproduce the behavior:

% zsh -df
% source path/to/zsh-autosuggestions.zsh
% # 1) Attempt to show a suggestion by typing part of "source"
% setopt FORCE_FLOAT
% # 2) Attempt to once again show a suggestion by typing part of "source".

Expected behavior

Within both (1) and (2), both suggestions should be highlighted in the same color

Screenshots

At (1): example

At (2): example

Desktop

aliazani commented 2 years ago

I encounter this problem too and I think there something wrong. suggested color should be pale white but it's as same as the normal text in terminal.