mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-12-08 15:32:31 +01:00
code formatting
This commit is contained in:
parent
5434e8b86f
commit
dfc9399594
1 changed files with 3 additions and 2 deletions
|
|
@ -173,8 +173,9 @@ _zsh_autosuggest_bind_widget() {
|
||||||
# Completion widget
|
# Completion widget
|
||||||
completion:*)
|
completion:*)
|
||||||
_zsh_autosuggest_incr_bind_count $widget
|
_zsh_autosuggest_incr_bind_count $widget
|
||||||
local -a widget_split=("${(@s.:.)widgets[$widget]}")
|
local -a widget_split=("${(@s.:.)widgets[$widget]}")
|
||||||
eval 'zle -C "$prefix$bind_count-${(q)widget}" "${widget_split[2]}" "${widget_split[3]}"' ;;
|
eval 'zle -C "$prefix$bind_count-${(q)widget}" "${widget_split[2]}" "${widget_split[3]}"'
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Pass the original widget's name explicitly into the autosuggest
|
# Pass the original widget's name explicitly into the autosuggest
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue