@@ -436,7 +436,7 @@ _zsh_highlight_highlighter_main_paint()
436436}
437437
438438# Try to expand $1, if it's possible to do so safely.
439- #
439+ #
440440# Uses two parameters from the caller: $parameter_name_pattern and $res.
441441#
442442# If expansion was done, set $reply to the expansion and return true.
@@ -462,7 +462,7 @@ _zsh_highlight_main_highlighter__try_expand_parameter()
462462 else
463463 parameter_name=${arg: 1}
464464 fi
465- if [[ $res == none ]] &&
465+ if [[ $res == none ]] &&
466466 [[ ${parameter_name} =~ ^${~parameter_name_pattern} $ ]] &&
467467 [[ ${(tP)MATCH} != * special* ]]
468468 then
@@ -785,7 +785,7 @@ _zsh_highlight_main_highlighter_highlight_list()
785785 if (( ! in_redirection )) ; then
786786 if [[ $this_word == * ' :sudo_opt:' * ]]; then
787787 if [[ -n $flags_with_argument ]] &&
788- {
788+ {
789789 # Trenary
790790 if [[ -n $flags_sans_argument ]]
791791 then [[ $arg == ' -' [$flags_sans_argument ]# [$flags_with_argument] ]]
@@ -813,7 +813,7 @@ _zsh_highlight_main_highlighter_highlight_list()
813813 this_word= ' :sudo_opt:'
814814 next_word+= ' :start:'
815815 next_word+= ' :sudo_opt:'
816- elif [[ -n $flags_solo ]] &&
816+ elif [[ -n $flags_solo ]] &&
817817 {
818818 # Trenary
819819 if [[ -n $flags_sans_argument ]]
@@ -871,7 +871,7 @@ _zsh_highlight_main_highlighter_highlight_list()
871871 elif [[ $this_word == * ' :start:' * ]] && [[ $arg == $' \n ' ]]; then
872872 style=commandseparator
873873 elif [[ $this_word == * ' :start:' * ]] && [[ $arg == ' ;' ]] && (( $# in_alias )) ; then
874- style=commandseparator
874+ style=commandseparator
875875 else
876876 # Empty commands (semicolon follows nothing) are valid syntax.
877877 # However, in interactive use they are likely to be erroneous;
@@ -880,7 +880,7 @@ _zsh_highlight_main_highlighter_highlight_list()
880880 # Alias definitions are exempted from this check to allow multiline aliases
881881 # with explicit (redundant) semicolons: «alias foo=$'bar;\nbaz'» (issue #677).
882882 #
883- # See also #691 about possibly changing the style used here.
883+ # See also #691 about possibly changing the style used here.
884884 style=unknown-token
885885 fi
886886
@@ -1035,7 +1035,7 @@ _zsh_highlight_main_highlighter_highlight_list()
10351035 else
10361036 # assignment to a scalar parameter.
10371037 # (For array assignments, the command doesn't start until the ")" token.)
1038- #
1038+ #
10391039 # Discard :start_of_pipeline:, if present, as '!' is not valid
10401040 # after assignments.
10411041 next_word+=' :start:'
0 commit comments