Revert "driver: Enable highlighting during isearch under zsh≥5.3."

This reverts commit 4ad311ec0a.
This commit is contained in:
Daniel Shahaf 2016-10-19 23:03:16 +00:00
parent d464d3857f
commit af0099465f

View File

@ -60,7 +60,7 @@ _zsh_highlight()
# Remove all highlighting in isearch, so that only the underlining done by zsh itself remains. # 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?'. # 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=() region_highlight=()
return $ret return $ret
fi fi