diff --git a/src/widgets.zsh b/src/widgets.zsh index aa3f248..8710c02 100644 --- a/src/widgets.zsh +++ b/src/widgets.zsh @@ -39,7 +39,7 @@ _zsh_autosuggest_clear() { _zsh_autosuggest_modify() { local -i retval - # Only added to zsh very recently + # Only available in zsh >= 5.4 local -i KEYS_QUEUED_COUNT # Save the contents of the buffer/postdisplay diff --git a/zsh-autosuggestions.zsh b/zsh-autosuggestions.zsh index 476e22b..6cbaf05 100644 --- a/zsh-autosuggestions.zsh +++ b/zsh-autosuggestions.zsh @@ -304,7 +304,7 @@ _zsh_autosuggest_clear() { _zsh_autosuggest_modify() { local -i retval - # Only added to zsh very recently + # Only available in zsh >= 5.4 local -i KEYS_QUEUED_COUNT # Save the contents of the buffer/postdisplay