Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Sprunkles137 opened this issue Apr 22, 2022 · 0 comments · May be fixed by #54
Open

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

Sprunkles137 opened this issue Apr 22, 2022 · 0 comments · May be fixed by #54
Assignees
Labels
bug Something isn't working

Comments

@Sprunkles137
Copy link

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

@Arcensoth Arcensoth self-assigned this Apr 23, 2022
@Arcensoth Arcensoth added the bug Something isn't working label Apr 23, 2022
@Arcensoth Arcensoth linked a pull request Apr 23, 2022 that will close this issue
7 tasks
@Arcensoth Arcensoth linked a pull request Apr 23, 2022 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants