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

Method names that start with a macro interpolation will show gray syntax highlighting #190

Closed
jwoertink opened this issue Feb 25, 2024 · 1 comment

Comments

@jwoertink
Copy link

If you prepend a variable or method name with _, the syntax highlighting will gray it out as if to tell you that this thing isn't being used. This is a great feature 👍 However, if you are generating methods using some macro magic, they will also show up grayed out...

You can see here that _count and _query are gray since they start with a macro variable.

image

But methods that have the macro on the other side don't since they don't start with the underscore _.

image

Not a huge deal, but it could probably check if it starts with }}_ then don't do this gray highlight?

@nobodywasishere
Copy link
Member

Good catch! Thank you!

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