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

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

Open
detly opened this issue Dec 6, 2022 · 0 comments
Open

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

detly opened this issue Dec 6, 2022 · 0 comments

Comments

@detly
Copy link

detly commented Dec 6, 2022

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.

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

1 participant