Skip to content

Macro highlighting failing after update #134

Closed as not planned
Closed as not planned
@lmburns

Description

@lmburns

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:

# Treesitter
* **@variable** -> **rustTSVariable** -> **TSVariable**
* **@function.macro** -> **rustTSFuncMacro** -> **TSFuncMacro**
* **@_name** -> **rust0** -> **0**
* **@_name** -> **rust0** -> **0**
* **@_name** -> **rust0** -> **0**
* **@_name** -> **rust0** -> **0**
* **@_name** -> **rust0** -> **0**

The highlight group under #[serde(...)] is the following:

# Treesitter
* **@variable** -> **rustTSVariable** -> **TSVariable**

Picture to show an example:
Alacritty_2022-03-11_19-54

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions