zsh-autosuggestions/spec
Frad LEE 55cd4ec23d fix(ai): prevent async suggestion duplication
- Add buffer validation to check suggestion starts with buffer
- Discard stale suggestions that don't match current content

Fixes text duplication bug when accepting async suggestions after
buffer changes during suggestion fetch.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 17:01:15 +08:00
..
integrations Fix deleting last character in vi mode (#302) 2019-06-22 16:34:42 -06:00
options Enable async mode by default in newer versions of zsh 2020-01-26 21:18:49 -07:00
strategies fix(ai): prevent async suggestion duplication 2026-02-12 17:01:15 +08:00
widgets Enabling suggestions should not fetch a suggestion if buffer is empty 2017-03-05 12:53:13 -05:00
async_spec.rb Don't fetch suggestions after copy-earlier-word 2019-06-14 13:19:07 -06:00
kill_ring_spec.rb Don't break kill ring rotation 2018-05-15 12:54:09 -06:00
line_init_spec.rb Remove hard-coded ignore of zle-* widgets and add to default config 2019-06-14 16:38:28 -06:00
multi_line_spec.rb Rewrite with_history test helper to be more robust 2020-05-06 07:31:37 -06:00
spec_helper.rb Rewrite with_history test helper to be more robust 2020-05-06 07:31:37 -06:00
terminal_session.rb Revert async process substitution & completion strategy 2018-12-16 20:49:06 -07:00