mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-12-27 22:43:41 +08: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
|
@ -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 New Issue
Block a user