@@ -436,7 +436,7 @@ _zsh_highlight_highlighter_main_paint()
436
436
}
437
437
438
438
# Try to expand $1, if it's possible to do so safely.
439
- #
439
+ #
440
440
# Uses two parameters from the caller: $parameter_name_pattern and $res.
441
441
#
442
442
# If expansion was done, set $reply to the expansion and return true.
@@ -462,7 +462,7 @@ _zsh_highlight_main_highlighter__try_expand_parameter()
462
462
else
463
463
parameter_name=${arg: 1}
464
464
fi
465
- if [[ $res == none ]] &&
465
+ if [[ $res == none ]] &&
466
466
[[ ${parameter_name} =~ ^${~parameter_name_pattern} $ ]] &&
467
467
[[ ${(tP)MATCH} != * special* ]]
468
468
then
@@ -785,7 +785,7 @@ _zsh_highlight_main_highlighter_highlight_list()
785
785
if (( ! in_redirection )) ; then
786
786
if [[ $this_word == * ' :sudo_opt:' * ]]; then
787
787
if [[ -n $flags_with_argument ]] &&
788
- {
788
+ {
789
789
# Trenary
790
790
if [[ -n $flags_sans_argument ]]
791
791
then [[ $arg == ' -' [$flags_sans_argument ]# [$flags_with_argument] ]]
@@ -813,7 +813,7 @@ _zsh_highlight_main_highlighter_highlight_list()
813
813
this_word= ' :sudo_opt:'
814
814
next_word+= ' :start:'
815
815
next_word+= ' :sudo_opt:'
816
- elif [[ -n $flags_solo ]] &&
816
+ elif [[ -n $flags_solo ]] &&
817
817
{
818
818
# Trenary
819
819
if [[ -n $flags_sans_argument ]]
@@ -871,7 +871,7 @@ _zsh_highlight_main_highlighter_highlight_list()
871
871
elif [[ $this_word == * ' :start:' * ]] && [[ $arg == $' \n ' ]]; then
872
872
style=commandseparator
873
873
elif [[ $this_word == * ' :start:' * ]] && [[ $arg == ' ;' ]] && (( $# in_alias )) ; then
874
- style=commandseparator
874
+ style=commandseparator
875
875
else
876
876
# Empty commands (semicolon follows nothing) are valid syntax.
877
877
# However, in interactive use they are likely to be erroneous;
@@ -880,7 +880,7 @@ _zsh_highlight_main_highlighter_highlight_list()
880
880
# Alias definitions are exempted from this check to allow multiline aliases
881
881
# with explicit (redundant) semicolons: «alias foo=$'bar;\nbaz'» (issue #677).
882
882
#
883
- # See also #691 about possibly changing the style used here.
883
+ # See also #691 about possibly changing the style used here.
884
884
style=unknown-token
885
885
fi
886
886
@@ -1035,7 +1035,7 @@ _zsh_highlight_main_highlighter_highlight_list()
1035
1035
else
1036
1036
# assignment to a scalar parameter.
1037
1037
# (For array assignments, the command doesn't start until the ")" token.)
1038
- #
1038
+ #
1039
1039
# Discard :start_of_pipeline:, if present, as '!' is not valid
1040
1040
# after assignments.
1041
1041
next_word+=' :start:'
0 commit comments