mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2026-09-18 00:10:15 +00:00
'main': Highlight the parentheses of array assignments as reserved words.
Fixes #585.
This commit is contained in:
@@ -33,6 +33,7 @@ bar(){}
|
||||
|
||||
expected_region_highlight=(
|
||||
'1 3 assign' # a=(
|
||||
'3 3 reserved-word' # (
|
||||
'5 7 default' # foo
|
||||
'9 9 unknown-token' # |
|
||||
# zsh reports a parse error at this point. Nevertheless, we test how we
|
||||
|
||||
Reference in New Issue
Block a user