@@ -432,7 +432,7 @@ _zsh_highlight_highlighter_main_paint()
432
432
}
433
433
434
434
# Try to expand $1, if it's possible to do so safely.
435
- #
435
+ #
436
436
# Uses two parameters from the caller: $parameter_name_pattern and $res.
437
437
#
438
438
# If expansion was done, set $reply to the expansion and return true.
@@ -458,7 +458,7 @@ _zsh_highlight_main_highlighter__try_expand_parameter()
458
458
else
459
459
parameter_name=${arg: 1}
460
460
fi
461
- if [[ $res == none ]] &&
461
+ if [[ $res == none ]] &&
462
462
[[ ${parameter_name} =~ ^${~parameter_name_pattern} $ ]] &&
463
463
[[ ${(tP)MATCH} != * special* ]]
464
464
then
@@ -781,7 +781,7 @@ _zsh_highlight_main_highlighter_highlight_list()
781
781
if (( ! in_redirection )) ; then
782
782
if [[ $this_word == * ' :sudo_opt:' * ]]; then
783
783
if [[ -n $flags_with_argument ]] &&
784
- {
784
+ {
785
785
# Trenary
786
786
if [[ -n $flags_sans_argument ]]
787
787
then [[ $arg == ' -' [$flags_sans_argument ]# [$flags_with_argument] ]]
@@ -809,7 +809,7 @@ _zsh_highlight_main_highlighter_highlight_list()
809
809
this_word= ' :sudo_opt:'
810
810
next_word+= ' :start:'
811
811
next_word+= ' :sudo_opt:'
812
- elif [[ -n $flags_solo ]] &&
812
+ elif [[ -n $flags_solo ]] &&
813
813
{
814
814
# Trenary
815
815
if [[ -n $flags_sans_argument ]]
@@ -867,7 +867,7 @@ _zsh_highlight_main_highlighter_highlight_list()
867
867
elif [[ $this_word == * ' :start:' * ]] && [[ $arg == $' \n ' ]]; then
868
868
style=commandseparator
869
869
elif [[ $this_word == * ' :start:' * ]] && [[ $arg == ' ;' ]] && (( $# in_alias )) ; then
870
- style=commandseparator
870
+ style=commandseparator
871
871
else
872
872
# Empty commands (semicolon follows nothing) are valid syntax.
873
873
# However, in interactive use they are likely to be erroneous;
@@ -876,7 +876,7 @@ _zsh_highlight_main_highlighter_highlight_list()
876
876
# Alias definitions are exempted from this check to allow multiline aliases
877
877
# with explicit (redundant) semicolons: «alias foo=$'bar;\nbaz'» (issue #677).
878
878
#
879
- # See also #691 about possibly changing the style used here.
879
+ # See also #691 about possibly changing the style used here.
880
880
style=unknown-token
881
881
fi
882
882
@@ -1031,7 +1031,7 @@ _zsh_highlight_main_highlighter_highlight_list()
1031
1031
else
1032
1032
# assignment to a scalar parameter.
1033
1033
# (For array assignments, the command doesn't start until the ")" token.)
1034
- #
1034
+ #
1035
1035
# Discard :start_of_pipeline:, if present, as '!' is not valid
1036
1036
# after assignments.
1037
1037
next_word+=' :start:'
0 commit comments