mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-01-30 09:47:12 +08:00
Merge 010ed35cde
into e52ee8ca55
This commit is contained in:
commit
98dee63748
@ -255,7 +255,7 @@ _zsh_autosuggest_highlight_reset() {
|
||||
_zsh_autosuggest_highlight_apply() {
|
||||
typeset -g _ZSH_AUTOSUGGEST_LAST_HIGHLIGHT
|
||||
|
||||
if (( $#POSTDISPLAY )); then
|
||||
if (( ${#POSTDISPLAY} )); then
|
||||
typeset -g _ZSH_AUTOSUGGEST_LAST_HIGHLIGHT="$#BUFFER $(($#BUFFER + $#POSTDISPLAY)) $ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE"
|
||||
region_highlight+=("$_ZSH_AUTOSUGGEST_LAST_HIGHLIGHT")
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user