Open
Description
The bug
When writing a target selector with an argument that has an array for a value, it displays as all red. This makes it hard to distinguish key-value pairs within the selector. One possible case this shows up in is with Bedrock edition's new "hasitem" selector argument, which can take an array as a value.
Steps to reproduce:
Write the following in a file with the highlighter enabled:
say @a[hasitem=[{item=stone}]]