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,8 +32,10 @@ BUFFER=$'a=( foo \n bar )'
|
|||
|
||||
expected_region_highlight=(
|
||||
'1 3 assign' # a=(
|
||||
'3 3 reserved-word' # (
|
||||
'5 7 default' # foo
|
||||
'9 9 commandseparator' # \n
|
||||
'11 13 default' # bar
|
||||
'15 15 assign' # )
|
||||
'15 15 reserved-word' # )
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue