Support fallback strategies by setting array in config

This commit is contained in:
Eric Freese
2018-11-24 09:56:30 -07:00
parent 62f5f14f2f
commit a78ea16c50
8 changed files with 93 additions and 18 deletions

View File

@@ -35,7 +35,7 @@ _zsh_autosuggest_async_server() {
# Run suggestion search in the background
(
local suggestion
_zsh_autosuggest_strategy_$ZSH_AUTOSUGGEST_STRATEGY "$query"
_zsh_autosuggest_fetch_suggestion "$query"
echo -n -E "$suggestion"$'\0'
) &