zsh-users/zsh-syntax-highlighting

SHORT_LOOPS syntax "while {....} {....}" not recognized

Open

#880 建立於 2022年6月23日

在 GitHub 查看
 (15 留言) (0 反應) (0 負責人)Shell (22,617 star) (1,371 fork)batch import
Buggood first issuesyntax:command-word

描述

It is possible to write a loop using a different syntax like:

while (( i++ < 10 )) { echo i is $i } 

Issue:

The syntax highlighting fails on the { echo i is $i } part. Has this been a conscious decision made in the past? If not is it possible to fix this?

貢獻者指南