zsh-users/zsh-syntax-highlighting

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

开放

#880 创建于 2022年6月23日

 (15 条评论) (0 个反应) (0 位负责人)Shell (1,371 个派生)batch import
Buggood first issuesyntax:command-word

仓库指标

星标
 (22,617 个星标)
PR 合并指标
 (30 天内没有已合并 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?

贡献者指南