mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-11-18 09:51:06 +01:00
Use zle -w flag to set WIDGET appropriately when calling orig widget
This commit is contained in:
parent
ba029e83d0
commit
70438d233d
2 changed files with 2 additions and 2 deletions
|
@ -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 -- $@
|
zle $original_widget_name -w -- $@
|
||||||
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 -- $@
|
zle $original_widget_name -w -- $@
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue