mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-12-29 07:34:11 +08:00
Revert "Use zle -w flag to set WIDGET appropriately when calling orig widget"
This reverts commit 70438d233d
.
This commit is contained in:
parent
aa859a282d
commit
03fac1f0d7
|
@ -74,6 +74,6 @@ _zsh_autosuggest_invoke_original_widget() {
|
||||||
shift
|
shift
|
||||||
|
|
||||||
if [ $widgets[$original_widget_name] ]; then
|
if [ $widgets[$original_widget_name] ]; then
|
||||||
zle $original_widget_name -w -- $@
|
zle $original_widget_name -- $@
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
@ -176,7 +176,7 @@ _zsh_autosuggest_invoke_original_widget() {
|
||||||
shift
|
shift
|
||||||
|
|
||||||
if [ $widgets[$original_widget_name] ]; then
|
if [ $widgets[$original_widget_name] ]; then
|
||||||
zle $original_widget_name -w -- $@
|
zle $original_widget_name -- $@
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user