zsh-autosuggestions/spec
Eric Freese c1910348c7 Implement completion suggestion strategy (#111)
Based on https://github.com/Valodim/zsh-capture-completion

`zpty -r` with a pattern seems to have some funky behavior on older
versions, giving unpredictable results

Don't use `-s` option to `zmodload`. It is not available in zsh versions
older than 5.3

If running in sync mode and a completion takes a long time, the user can
^C out of it. We need to use `always` in the strategy function or the
pty will not be destroyed in this case and the next time we go to create
it, it will fail, making the shell unusable.

User can have many different completion styles set that will modify what
they've already typed. These styles will result in suggestions that
don't match what the user has already typed. We try our best to unset
some of the more problematic ones, but add some code to fetch to
invalidate suggestions that don't match what the user's already typed.
2019-04-11 09:53:55 -06:00
..
integrations Implement completion suggestion strategy (#111) 2019-04-11 09:53:55 -06:00
options Allow disabling of automatic widget re-binding 2019-04-10 11:43:21 -06:00
strategies Implement completion suggestion strategy (#111) 2019-04-11 09:53:55 -06:00
widgets Enabling suggestions should not fetch a suggestion if buffer is empty 2017-03-05 12:53:13 -05:00
async_spec.rb Refactor async mode to no longer use zpty 2019-04-09 14:45:22 -06:00
kill_ring_spec.rb Don't break kill ring rotation 2018-05-15 12:54:09 -06:00
multi_line_spec.rb Lots of async changes 2017-02-16 19:19:30 -07:00
spec_helper.rb Don't overwrite config with default values 2018-11-18 12:39:23 -07:00
terminal_session.rb Revert async process substitution & completion strategy 2018-12-16 20:49:06 -07:00