Issue 47: Removing styling of 'isearch' and 'special', as it has no effect

Signed-off-by: Julien Nicoulaud <julien.nicoulaud@gmail.com>
This commit is contained in:
Julien Nicoulaud 2011-02-17 19:31:07 +01:00
parent e1479022a0
commit 6879d3c29f

View File

@ -33,8 +33,6 @@
typeset -gA ZSH_HIGHLIGHT_STYLES typeset -gA ZSH_HIGHLIGHT_STYLES
ZSH_HIGHLIGHT_STYLES=( ZSH_HIGHLIGHT_STYLES=(
default 'none' default 'none'
isearch 'fg=magenta,standout'
special 'fg=magenta,standout'
unknown-token 'fg=red,bold' unknown-token 'fg=red,bold'
reserved-word 'fg=yellow' reserved-word 'fg=yellow'
alias 'fg=green' alias 'fg=green'
@ -72,12 +70,6 @@ ZSH_HIGHLIGHT_TOKENS_FOLLOWED_BY_COMMANDS=(
'|' '||' ';' '&' '&&' 'noglob' 'nocorrect' 'builtin' '|' '||' ';' '&' '&&' 'noglob' 'nocorrect' 'builtin'
) )
# ZLE highlight types.
zle_highlight=(
special:$ZSH_HIGHLIGHT_STYLES[special]
isearch:$ZSH_HIGHLIGHT_STYLES[isearch]
)
# Check if the argument is variable assignment # Check if the argument is variable assignment
_zsh_check-assign() { _zsh_check-assign() {
setopt localoptions extended_glob setopt localoptions extended_glob