zsh-autosuggestions/spec/strategies
Frad LEE cd66c5695a refactor(ai): replace empty buffer with min input
- Replace ZSH_AUTOSUGGEST_ALLOW_EMPTY_BUFFER with AI_MIN_INPUT
- Add ZSH_AUTOSUGGEST_AI_DEBUG environment variable
- Add debug logging function to diagnose failures
- Update history lines default from 20 to 5
- Update pwd history preference default to no

Min input provides clearer semantics: set to 0 for empty-buffer
suggestions or higher to require minimum input. Debug logging helps
diagnose missing suggestions by showing API request flow.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-02-05 14:39:12 +08:00
..
ai_spec.rb refactor(ai): replace empty buffer with min input 2026-02-05 14:39:12 +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