zsh-users / zsh-autosuggestions

Fish-like autosuggestions for zsh
MIT License
30.3k stars 1.85k forks source link

Implements two of the skipped unit tests #762

Open sb-o opened 9 months ago

sb-o commented 9 months ago

This implements two unit tests that were being skipped:

  1. options/buffer_max_size_spec.rb - _a suggestion when ZSH_AUTOSUGGEST_BUFFER_MAXSIZE is specified is not provided when the buffer is longer than the specified length

  2. integrations/zle_input_stack_spec - using zle -U does not fetch a suggestion for every inserted character (Note: this still skips if zsh < 5.4)