-
-
Notifications
You must be signed in to change notification settings - Fork 111
Macro highlighting failing after update #134
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
Comments
@aryx This looks to me like the intended effect of #93? Avoiding this kind of breaking change while supporting non-meta-item attributes would probably require a different approach than #93, probably using injections as @resolritter suggested in #93 (comment). |
It's not highlighted because highlights.scm needs to be updated to take into account the new attr_item construct? |
Maybe? I don't see anything in
Are there any tests for syntax highlighting, or an example of how best to write such tests? |
I'm unsure when this happened in the commits, I have treesitter update everyday, so I believe it has been since last night. I'm also unsure if this has to do with this repo or the main treesitter repo. However, attribute-macros no longer highlight with my code.
#[derive(...)]
does, but#[serde(...)]
does not.The highlight group under
#[derive(...)]
is the following:The highlight group under
#[serde(...)]
is the following:Picture to show an example:

The text was updated successfully, but these errors were encountered: