zsh-users / zsh-autosuggestions

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

Unique "Suggestion Highlight Style" (aka font color) for each "Suggestion Strategy" #595

Closed creednaylor closed 3 years ago

creednaylor commented 3 years ago

I know that setting ZSH_AUTOSUGGEST_STRATEGY=(history completion) will "first try to find a suggestion from your history, but, if it can't find a match, will find a suggestion from the completion engine."

Is there a way to have a unique ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE for each ZSH_AUTOSUGGEST_STRATEGY so that the user can see which ZSH_AUTOSUGGEST_STRATEGY was used for the current suggestion being displayed?