From 79e4d3d1240599ab00a5e9aae54dfbd5c18fb270 Mon Sep 17 00:00:00 2001 From: m0viefreak Date: Wed, 13 Jan 2016 21:44:59 +0100 Subject: [PATCH] apply suffix and isearch zle_highlights on top --- zsh-syntax-highlighting.zsh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zsh-syntax-highlighting.zsh b/zsh-syntax-highlighting.zsh index 899d67c..9ff3a7f 100644 --- a/zsh-syntax-highlighting.zsh +++ b/zsh-syntax-highlighting.zsh @@ -120,6 +120,12 @@ _zsh_highlight() # yank / paste (zsh-5.1.1 and newer) (( $+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" + + # suffix + (( $+SUFFIX_ACTIVE )) && (( SUFFIX_ACTIVE )) && _zsh_highlight_apply_zle_highlight suffix bold "$SUFFIX_START" "$SUFFIX_END" + return $ret