mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
'main': Highlight the parentheses of array assignments as reserved words.
Fixes #585.
This commit is contained in:
parent
00c0c76550
commit
0f11d80968
13 changed files with 28 additions and 1 deletions
|
|
@ -32,9 +32,11 @@ BUFFER=$'foo=(bar abaz) \! ls'
|
|||
|
||||
expected_region_highlight=(
|
||||
'1 5 assign' # foo=(
|
||||
'5 5 reserved-word' # (
|
||||
'6 8 default' # bar
|
||||
'10 13 default' # abaz
|
||||
'14 14 assign' # )
|
||||
'14 14 reserved-word' # )
|
||||
'16 16 unknown-token' # \!
|
||||
'18 19 command' # ls
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue