Compare commits
9 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
eb67c0b84f | ||
|
15d4587514 | ||
|
e5a59f6b56 | ||
|
b4d882dd59 | ||
|
2e95ffc08f | ||
|
5dcf0cecd8 | ||
|
31250c77bf | ||
|
39ab1b7321 | ||
|
af0099465f |
@ -1,4 +1,4 @@
|
|||||||
up to 28d7056a7a06
|
up to 0.5.0
|
||||||
|
|
||||||
# Changes in version 0.5.0
|
# Changes in version 0.5.0
|
||||||
|
|
||||||
@ -27,11 +27,6 @@ in this area.
|
|||||||
- Aliases that cannot be defined normally nor invoked normally (highlighted as an error).
|
- Aliases that cannot be defined normally nor invoked normally (highlighted as an error).
|
||||||
(#263 (in part), 28932316cca6)
|
(#263 (in part), 28932316cca6)
|
||||||
|
|
||||||
- The `isearch` and `suffix` [`$zle_highlight` settings][zshzle-Character-Highlighting].
|
|
||||||
(79e4d3d12405, 15db71abd0cc; requires zsh 5.3 for `$ISEARCHMATCH_ACTIVE` / `$SUFFIX_ACTIVE` support)
|
|
||||||
|
|
||||||
[zshzle-Character-Highlighting]: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Character-Highlighting
|
|
||||||
|
|
||||||
- Path separators (`/`) — the default behaviour remains to highlight path separators
|
- Path separators (`/`) — the default behaviour remains to highlight path separators
|
||||||
and path components the same way.
|
and path components the same way.
|
||||||
(#136, #260, 6cd39e7c70d3, 9a934d291e7c, f3d3aaa00cc4)
|
(#136, #260, 6cd39e7c70d3, 9a934d291e7c, f3d3aaa00cc4)
|
||||||
|
@ -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
|
||||||
@ -142,12 +142,6 @@ _zsh_highlight()
|
|||||||
# yank / paste (zsh-5.1.1 and newer)
|
# yank / paste (zsh-5.1.1 and newer)
|
||||||
(( $+YANK_ACTIVE )) && (( YANK_ACTIVE )) && _zsh_highlight_apply_zle_highlight paste standout "$YANK_START" "$YANK_END"
|
(( $+YANK_ACTIVE )) && (( YANK_ACTIVE )) && _zsh_highlight_apply_zle_highlight paste standout "$YANK_START" "$YANK_END"
|
||||||
|
|
||||||
# isearch
|
|
||||||
(( $+ISEARCHMATCH_ACTIVE )) && (( ISEARCHMATCH_ACTIVE )) && _zsh_highlight_apply_zle_highlight isearch underline "$ISEARCHMATCH_START" "$ISEARCHMATCH_END"
|
|
||||||
|
|
||||||
# suffix
|
|
||||||
(( $+SUFFIX_ACTIVE )) && (( SUFFIX_ACTIVE )) && _zsh_highlight_apply_zle_highlight suffix bold "$SUFFIX_START" "$SUFFIX_END"
|
|
||||||
|
|
||||||
|
|
||||||
return $ret
|
return $ret
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user