main: Simplify for next commit; no functional change
This commit is contained in:
parent
be26017e39
commit
9706af4b81
|
@ -830,15 +830,13 @@ _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
|
||||||
|
fi
|
||||||
while [[ $arg[i+1] == [\^=~#+] ]]; do
|
while [[ $arg[i+1] == [\^=~#+] ]]; do
|
||||||
(( i += 1 ))
|
(( i += 1 ))
|
||||||
done
|
done
|
||||||
if [[ $arg[i+1] == [*@#?-$!] ]]; then
|
if [[ $arg[i+1] == [*@#?-$!] ]]; then
|
||||||
(( i += 1 ))
|
(( i += 1 ))
|
||||||
fi
|
|
||||||
elif [[ $arg[i+1] == [*@#?-$!] ]]; then
|
|
||||||
(( i += 1 ))
|
|
||||||
fi;;
|
fi;;
|
||||||
*)
|
*)
|
||||||
if $highlight_glob && [[ ${arg[$i]} =~ ^[*?] || ${arg:$i-1} =~ ^\<[0-9]*-[0-9]*\> ]]; then
|
if $highlight_glob && [[ ${arg[$i]} =~ ^[*?] || ${arg:$i-1} =~ ^\<[0-9]*-[0-9]*\> ]]; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user