瀏覽代碼

Don't discard $WIDGETSTYLE

Calling a completion widget without passing the -w flag causes
$WIDGETSTYLE to be unset. This breaks logic in _oldlist, _list_files and
some plugins.
pull/724/head
Marlon Richert 1 年之前
父節點
當前提交
7202ce8f93
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      zsh-autosuggestions.zsh

+ 1
- 1
zsh-autosuggestions.zsh 查看文件

@ -231,7 +231,7 @@ _zsh_autosuggest_invoke_original_widget() {
shift
if (( ${+widgets[$original_widget_name]} )); then
zle $original_widget_name -- $@
zle $original_widget_name -w -- $@
fi
}

Loading…
取消
儲存