Ver a proveniência

completion should be a local var

pull/344/head
Eric Freese há 6 anos
ascendente
cometimento
b0ffc34fb8
2 ficheiros alterados com 4 adições e 2 eliminações
  1. +2
    -1
      src/strategies/completion.zsh
  2. +2
    -1
      zsh-autosuggestions.zsh

+ 2
- 1
src/strategies/completion.zsh Ver ficheiro

@ -111,7 +111,8 @@ _zsh_autosuggest_capture_completion() {
}
_zsh_autosuggest_strategy_completion() {
typeset -g suggestion completion
typeset -g suggestion
local completion
# Fetch the first completion result
_zsh_autosuggest_capture_completion "$1"

+ 2
- 1
zsh-autosuggestions.zsh Ver ficheiro

@ -610,7 +610,8 @@ _zsh_autosuggest_capture_completion() {
}
_zsh_autosuggest_strategy_completion() {
typeset -g suggestion completion
typeset -g suggestion
local completion
# Fetch the first completion result
_zsh_autosuggest_capture_completion "$1"

Carregando…
Cancelar
Guardar