'main': Highlight the parentheses of array assignments as reserved words.

Fixes #585.
This commit is contained in:
Daniel Shahaf
2020-06-08 14:23:43 +00:00
parent 00c0c76550
commit 0f11d80968
13 changed files with 28 additions and 1 deletions

View File

@@ -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
)