mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-11-18 09:51:06 +01:00
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.
This commit is contained in:
parent
a411ef3e09
commit
7202ce8f93
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue