Skip to content

Target selector arguments featuring an array display as all red #57

Description

@Sprunkles137

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}]]

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions