main: Simplify for next commit; no functional change

This commit is contained in:
Matthew Martin 2018-02-11 11:07:08 -06:00
parent be26017e39
commit 9706af4b81

View File

@ -830,14 +830,12 @@ _zsh_highlight_main_highlighter_highlight_argument()
_zsh_highlight_main_highlighter_highlight_dollar_quote $i _zsh_highlight_main_highlighter_highlight_dollar_quote $i
(( i = REPLY )) (( i = REPLY ))
highlights+=($reply) highlights+=($reply)
elif [[ $arg[i+1] == [\^=~#+] ]]; then continue
while [[ $arg[i+1] == [\^=~#+] ]]; do fi
(( i += 1 )) while [[ $arg[i+1] == [\^=~#+] ]]; do
done (( i += 1 ))
if [[ $arg[i+1] == [*@#?-$!] ]]; then done
(( i += 1 )) if [[ $arg[i+1] == [*@#?-$!] ]]; then
fi
elif [[ $arg[i+1] == [*@#?-$!] ]]; then
(( i += 1 )) (( i += 1 ))
fi;; fi;;
*) *)