@@ -432,7 +432,7 @@ _zsh_highlight_highlighter_main_paint()
432432}
433433
434434# Try to expand $1, if it's possible to do so safely.
435- #
435+ #
436436# Uses two parameters from the caller: $parameter_name_pattern and $res.
437437#
438438# If expansion was done, set $reply to the expansion and return true.
@@ -458,7 +458,7 @@ _zsh_highlight_main_highlighter__try_expand_parameter()
458458 else
459459 parameter_name=${arg: 1}
460460 fi
461- if [[ $res == none ]] &&
461+ if [[ $res == none ]] &&
462462 [[ ${parameter_name} =~ ^${~parameter_name_pattern} $ ]] &&
463463 [[ ${(tP)MATCH} != * special* ]]
464464 then
@@ -781,7 +781,7 @@ _zsh_highlight_main_highlighter_highlight_list()
781781 if (( ! in_redirection )) ; then
782782 if [[ $this_word == * ' :sudo_opt:' * ]]; then
783783 if [[ -n $flags_with_argument ]] &&
784- {
784+ {
785785 # Trenary
786786 if [[ -n $flags_sans_argument ]]
787787 then [[ $arg == ' -' [$flags_sans_argument ]# [$flags_with_argument] ]]
@@ -809,7 +809,7 @@ _zsh_highlight_main_highlighter_highlight_list()
809809 this_word= ' :sudo_opt:'
810810 next_word+= ' :start:'
811811 next_word+= ' :sudo_opt:'
812- elif [[ -n $flags_solo ]] &&
812+ elif [[ -n $flags_solo ]] &&
813813 {
814814 # Trenary
815815 if [[ -n $flags_sans_argument ]]
@@ -867,7 +867,7 @@ _zsh_highlight_main_highlighter_highlight_list()
867867 elif [[ $this_word == * ' :start:' * ]] && [[ $arg == $' \n ' ]]; then
868868 style=commandseparator
869869 elif [[ $this_word == * ' :start:' * ]] && [[ $arg == ' ;' ]] && (( $# in_alias )) ; then
870- style=commandseparator
870+ style=commandseparator
871871 else
872872 # Empty commands (semicolon follows nothing) are valid syntax.
873873 # However, in interactive use they are likely to be erroneous;
@@ -876,7 +876,7 @@ _zsh_highlight_main_highlighter_highlight_list()
876876 # Alias definitions are exempted from this check to allow multiline aliases
877877 # with explicit (redundant) semicolons: «alias foo=$'bar;\nbaz'» (issue #677).
878878 #
879- # See also #691 about possibly changing the style used here.
879+ # See also #691 about possibly changing the style used here.
880880 style=unknown-token
881881 fi
882882
@@ -1031,7 +1031,7 @@ _zsh_highlight_main_highlighter_highlight_list()
10311031 else
10321032 # assignment to a scalar parameter.
10331033 # (For array assignments, the command doesn't start until the ")" token.)
1034- #
1034+ #
10351035 # Discard :start_of_pipeline:, if present, as '!' is not valid
10361036 # after assignments.
10371037 next_word+=' :start:'
0 commit comments