zsh-autosuggestions icon indicating copy to clipboard operation
zsh-autosuggestions copied to clipboard

Suggestion color not changing when FORCE_FLOAT is set

Open MaxVanDeursen opened this issue 4 years ago • 1 comments

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

  • OS + distribution: Ubuntu 20.04.1 LTS
  • Zsh version: 5.8
  • Plugin version: ae315ded4 (i.e. current master)

MaxVanDeursen avatar Sep 28 '20 19:09 MaxVanDeursen

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.

aliazani avatar Feb 27 '22 15:02 aliazani