zsh-users / zsh-autosuggestions

Fish-like autosuggestions for zsh
MIT License
30.81k stars 1.85k forks source link

Suggestion Is Not Italicized #623

Closed FOSSilizedDaemon closed 3 years ago

FOSSilizedDaemon commented 3 years ago

Hello,

I am having an issue where this plugin is not italicizing the suggestion it provides. I have tried this on several terminals:

and all have this issue. The smallest configuration needed to reproduce this issue is as follows:

## Set active suggestion groups.
ZSH_AUTOSUGGEST_STRATEGY=(match_prev_cmd history completion)

## Highlight suggestions as light grey.
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=242,italic"
ericfreese commented 3 years ago

Hi, I don't think that zsh supports italic highlighting. See the zsh documentation here (search for "The available types of highlighting are the following") to see what is supported: https://zsh.sourceforge.io/Doc/Release/Zsh-Line-Editor.html#Character-Highlighting

FOSSilizedDaemon commented 3 years ago

Hi, I don't think that zsh supports italic highlighting. See the zsh documentation here (search for "The available types of highlighting are the following") to see what is supported: https://zsh.sourceforge.io/Doc/Release/Zsh-Line-Editor.html#Character-Highlighting

Ohh, that makes more sense. Thank you.