main: Add trivial condition and remove whitespace to simplify next diff

This commit is contained in:
Matthew Martin 2018-10-17 21:18:32 -05:00
parent 02f4a6b540
commit 8f17e4e201

View File

@ -455,6 +455,7 @@ _zsh_highlight_main_highlighter_highlight_list()
fi fi
fi fi
if true; then
# Compute the new $start_pos and $end_pos, skipping over whitespace in $buf. # Compute the new $start_pos and $end_pos, skipping over whitespace in $buf.
start_pos=$end_pos start_pos=$end_pos
if [[ $arg == ';' ]] ; then if [[ $arg == ';' ]] ; then
@ -509,6 +510,7 @@ _zsh_highlight_main_highlighter_highlight_list()
# #
# Why [,-1] is slower than [,length] isn't clear. # Why [,-1] is slower than [,length] isn't clear.
proc_buf="${proc_buf[offset + $#arg + 1,len]}" proc_buf="${proc_buf[offset + $#arg + 1,len]}"
fi
# Handle the INTERACTIVE_COMMENTS option. # Handle the INTERACTIVE_COMMENTS option.
# #