Skip to content

Field attributes do not have any attribute-related scopes #500

Open

Description

@detly

Sublime Text Version

Sublime Text 4 (Build 4142)

Rust Enhanced Version

v2.25.0

Operating system

Ubuntu 22.10, Gnome 43.0

Expected behavior

Attributes on fields within a struct should have a scope applied to mark them as such eg.

Actual behavior

struct Magic(#[more] bool, #[more(magic)] usize);

Neither attribute has any scope applied to indicate that it's an attribute. For example, the first attribute has scopes

source.rust
meta.struct.rust
meta.struct.rust
meta.group.rust

Steps to reproduce

See code above.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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