From 15db71abd0cced43513d61b9d9a6b5ca21fee14b Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Mon, 9 May 2016 03:38:27 +0000 Subject: [PATCH] driver: Track rename of an unreleased upstream API. ISEARCH_ACTIVE was renamed ISEARCHMATCH_ACTIVE in workers/38921 (commit f06be0ffcf2c to zsh itself). Fixes #299. --- zsh-syntax-highlighting.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh-syntax-highlighting.zsh b/zsh-syntax-highlighting.zsh index ca06fb0..f07851d 100644 --- a/zsh-syntax-highlighting.zsh +++ b/zsh-syntax-highlighting.zsh @@ -121,7 +121,7 @@ _zsh_highlight() (( $+YANK_ACTIVE )) && (( YANK_ACTIVE )) && _zsh_highlight_apply_zle_highlight paste standout "$YANK_START" "$YANK_END" # isearch - (( $+ISEARCH_ACTIVE )) && (( ISEARCH_ACTIVE )) && _zsh_highlight_apply_zle_highlight isearch underline "$ISEARCH_START" "$ISEARCH_END" + (( $+ISEARCHMATCH_ACTIVE )) && (( ISEARCHMATCH_ACTIVE )) && _zsh_highlight_apply_zle_highlight isearch underline "$ISEARCHMATCH_START" "$ISEARCHMATCH_END" # suffix (( $+SUFFIX_ACTIVE )) && (( SUFFIX_ACTIVE )) && _zsh_highlight_apply_zle_highlight suffix bold "$SUFFIX_START" "$SUFFIX_END"