diff --git a/hsmw-highlight b/hsmw-highlight index 62565ae..4c01599 100644 --- a/hsmw-highlight +++ b/hsmw-highlight @@ -286,16 +286,9 @@ __HSMW_HIGHLIGHT_TOKENS_TYPES=( local proc_buf="$buf" for arg in ${interactive_comments-${(z)buf}} \ ${interactive_comments+${(zZ+c+)buf}}; do - # Initialize $next_word. - if (( in_redirection )); then - (( --in_redirection )) - fi - if (( in_redirection == 0 )); then - # Initialize $next_word to its default value. - next_word=BIT_regular - else - # Stall $next_word. - fi + # Initialize $next_word to its default value? + (( in_redirection )) && (( --in_redirection )) + (( in_redirection == 0 )) && next_word=BIT_regular # else Stall $next_word. # Initialize per-"simple command" [zshmisc(1)] variables: #