zsh-autosuggestions/src
Eric Freese 4ccfdb2435 Fix issue where partial accept duplicates last word
When z-sy-h is enabled after autosuggestion widgets have already been
bound, partial accepting the last part of a suggestion will result in
that string being duplicated.

I was able to reproduce using the following versions of the two plugins:
- z-sy-h: dde84e1b25f059a298ce3189cddfd0778f998df3
- z-asug: ae315ded4d

and running the following commands interactively one after another:

```
zsh -df
% source path/to/zsh-autosuggestions.zsh
% source path/to/zsh-syntax-highlighting.zsh
% bindkey -e
% bindkey <alt-f>         # shows 'bindkey -e-e'
```

The order of the `source` statements matters and the issue cannot be
reproduced if the two source statements are executed together on one
line.

The problem is very similar to this one:
  https://github.com/zsh-users/zsh-autosuggestions/issues/126#issuecomment-217121315

See GitHub issue #483
2020-01-29 21:47:57 -07:00
..
strategies cleanup: Consolidate autoloads 2020-01-26 21:15:47 -07:00
async.zsh Degrade gracefully on systems missing zsh/system module 2019-06-19 13:41:43 -06:00
bind.zsh Be more specific about the built-in widgets we want to avoid wrapping 2020-01-25 08:01:37 -07:00
config.zsh Remove hard-coded ignore of zle-* widgets and add to default config 2019-06-14 16:38:28 -06:00
fetch.zsh Implement completion suggestion strategy (#111) 2019-04-11 09:53:55 -06:00
highlight.zsh Fix conditionals to use [[ and (( rather than [ 2017-11-27 08:31:41 -07:00
start.zsh Enable async mode by default in newer versions of zsh 2020-01-26 21:18:49 -07:00
util.zsh Revert "Simplify escaping of pattern and fix match_prev_cmd strategy" 2017-12-06 08:08:53 -07:00
widgets.zsh Fix issue where partial accept duplicates last word 2020-01-29 21:47:57 -07:00