From af0099465ff2e36cf0dfef0e37d85eb6bf7cae1a Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Wed, 19 Oct 2016 23:03:16 +0000 Subject: [PATCH] =?UTF-8?q?Revert=20"driver:=20Enable=20highlighting=20dur?= =?UTF-8?q?ing=20isearch=20under=20zsh=E2=89=A55.3."?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 4ad311ec0a6837b7c83bcfd1a1bf12cceb03f363. --- 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 ec01306..ee13762 100644 --- a/zsh-syntax-highlighting.zsh +++ b/zsh-syntax-highlighting.zsh @@ -60,7 +60,7 @@ _zsh_highlight() # Remove all highlighting in isearch, so that only the underlining done by zsh itself remains. # For details see FAQ entry 'Why does syntax highlighting not work while searching history?'. - if [[ $WIDGET == zle-isearch-update ]] && ! (( $+ISEARCHMATCH_ACTIVE )); then + if [[ $WIDGET == zle-isearch-update ]]; then region_highlight=() return $ret fi