brackets: Highlight closing ')' of array assignments correctly. (Issue #226.)

Followup to c0dafd1d85, which changed the highlight of
those ')'s from <nothing> to [reserved-word].
This commit is contained in:
Daniel Shahaf
2015-11-16 18:44:44 +00:00
parent 44e5323b53
commit b285c7b821
3 changed files with 56 additions and 4 deletions

View File

@@ -32,5 +32,7 @@ BUFFER='A=1 b=("foo" bar)'
expected_region_highlight=(
"1 3 $ZSH_HIGHLIGHT_STYLES[assign]" # A=1
"5 7 $ZSH_HIGHLIGHT_STYLES[assign]" # b=(
"8 12 $ZSH_HIGHLIGHT_STYLES[double-quoted-argument]" # "foo"
"17 17 $ZSH_HIGHLIGHT_STYLES[assign]" # )
)