mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-12-08 15:32:31 +01:00
Support fallback strategies by setting array in config
This commit is contained in:
parent
62f5f14f2f
commit
a78ea16c50
8 changed files with 93 additions and 18 deletions
|
|
@ -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'
|
||||
) &
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue