zsh-users/zsh-syntax-highlighting

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

Open

#880 opened on 2022年6月23日

GitHub で見る
 (15 comments) (0 reactions) (0 assignees)Shell (1,371 forks)batch import
Buggood first issuesyntax:command-word

Repository metrics

Stars
 (22,617 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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?

コントリビューターガイド