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
|
|
@ -31,8 +31,10 @@ BUFFER='A=(hello world) ls'
|
|||
|
||||
expected_region_highlight=(
|
||||
"1 3 assign" # A=(
|
||||
"3 3 reserved-word" # (
|
||||
"4 8 default" # hello
|
||||
"10 14 default" # world
|
||||
"15 15 assign" # )
|
||||
"15 15 reserved-word" # )
|
||||
"17 18 command" # ls
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue