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

Path-qualified macros do not have any macro-related scopes #501

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

Path-qualified macros do not have any macro-related scopes #501

detly opened this issue Dec 11, 2022 · 0 comments

Comments

@detly
Copy link

detly commented Dec 11, 2022

Sublime Text Version### Sublime Text Version

Sublime Text 4 (Build 4142)

Rust Enhanced Version

v2.25.0

Operating system

Ubuntu 22.10, Gnome 43.0

Expected behavior

Macros should have a macro scope applied even if they're fully qualified.

Actual behavior

fn main() {
    std::todo!();
}

Scopes:

source.rust
meta.function.rust
meta.block.rust

Compare to the bare macro:

fn main() {
    todo!();
}
source.rust
meta.function.rust
meta.block.rust
support.macro.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