mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
'main': Highlight literal semicolons in array assignments as errors.
Fixes the test added in the penultimate (grandparent) commit.
This commit is contained in:
parent
a4525a0826
commit
3ca93f864f
2 changed files with 10 additions and 2 deletions
|
|
@ -33,7 +33,7 @@ BUFFER=$'a=( foo ; bar )'
|
|||
expected_region_highlight=(
|
||||
'1 3 assign' # a=(
|
||||
'5 7 default' # foo
|
||||
'9 9 unknown-token "fixed in the after-next (grandchild) commit"' # ;
|
||||
'9 9 unknown-token' # ; (not commandseparator; see highlighter source code)
|
||||
'11 13 default' # bar
|
||||
'15 15 assign' # )
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue