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

Make the syntax somewhat more forgiving #110

Open
snej opened this issue Apr 28, 2023 · 1 comment
Open

Make the syntax somewhat more forgiving #110

snej opened this issue Apr 28, 2023 · 1 comment

Comments

@snej
Copy link

snej commented Apr 28, 2023

  1. It would be nice if the tokens property were optional. Many of my rules don't use tokens, so I forget to add them, but currently it's a fatal error if a lines block doesn't contain a tokens property.
  2. It would be handy if there were some color synonyms, so I didn't have to remember the exact names. For example, "Gray" as a synonym for "LightBlack", or "Orange" for "Yellow".
dalance added a commit that referenced this issue May 16, 2023
@dalance
Copy link
Owner

dalance commented May 16, 2023

At v0.4.3, tokens can be omitted.
About 2, I can't judge which synonym should be added because color recognition is affected by difference among individuals.
(For example, I recognize "Orange" and "Yellow" are different color)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants