From 3c43da5ffefcb5fc5b86a3c50caa07af22fa209d Mon Sep 17 00:00:00 2001 From: m0viefreak Date: Sun, 30 Jul 2017 19:07:29 +0200 Subject: [PATCH] driver: Improve comment about ^r pattern match bug The bug is not specific to 5.3.1. --- 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 6ff39b6..e36c3c3 100644 --- a/zsh-syntax-highlighting.zsh +++ b/zsh-syntax-highlighting.zsh @@ -77,7 +77,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?'. # This disables highlighting during isearch (for reasons explained in README.md) unless zsh is new enough - # and doesn't have the 5.3.1 bug + # and doesn't have the pattern matching bug if [[ $WIDGET == zle-isearch-update ]] && { $zsh_highlight__pat_static_bug || ! (( $+ISEARCHMATCH_ACTIVE )) }; then region_highlight=() return $ret