Browse Source

Fix `widget name '....' is protected

closes #653
pull/757/head
UrNightmaree 1 year ago
parent
commit
ed802d9b12
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      zsh-autosuggestions.zsh

+ 1
- 1
zsh-autosuggestions.zsh View File

@ -186,7 +186,7 @@ _zsh_autosuggest_bind_widget() {
}"
# Create the bound widget
zle -N -- $widget _zsh_autosuggest_bound_${bind_count}_$widget
[[ "$widget" = .* ]] || zle -N -- $widget _zsh_autosuggest_bound_${bind_count}_$widget
}
# Map all configured widgets to the right autosuggest widgets

Loading…
Cancel
Save