mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
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:
parent
44e5323b53
commit
b285c7b821
3 changed files with 56 additions and 4 deletions
|
|
@ -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]" # )
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue