Skip to content

Commit

Permalink
apply suffix and isearch zle_highlights on top
Browse files Browse the repository at this point in the history
  • Loading branch information
m0vie committed Mar 28, 2016
1 parent bc7f8ea commit 79e4d3d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions zsh-syntax-highlighting.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 79e4d3d

Please sign in to comment.