driver: Improve comment about ^r pattern match bug
The bug is not specific to 5.3.1.
This commit is contained in:
		
							parent
							
								
									f2ba507bbc
								
							
						
					
					
						commit
						3c43da5ffe
					
				|  | @ -77,7 +77,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?'. | ||||||
|   # This disables highlighting during isearch (for reasons explained in README.md) unless zsh is new enough |   # 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 |   if [[ $WIDGET == zle-isearch-update ]] && { $zsh_highlight__pat_static_bug || ! (( $+ISEARCHMATCH_ACTIVE )) }; then | ||||||
|     region_highlight=() |     region_highlight=() | ||||||
|     return $ret |     return $ret | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue