zsh-autosuggestions/spec/strategies
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
..
ai_debug_spec.rb test(ai): add debug logging verification spec 2026-02-05 14:43:53 +08:00
ai_spec.rb fix(ai): prevent async suggestion duplication 2026-02-12 17:01:15 +08:00
completion_spec.rb Allow skipping completion suggestions when buffer matches a pattern 2019-12-15 08:13:54 -07:00
history_spec.rb Allow configuring to ignore history entries matching a pattern 2019-07-02 21:46:17 -06:00
match_prev_cmd_spec.rb Allow configuring to ignore history entries matching a pattern 2019-07-02 21:46:17 -06:00
special_characters_helper.rb Fix flaky special char specs by not using with_history twice per test 2020-05-06 23:43:26 -06:00