diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-10-24 04:31:17 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-10-24 04:31:17 +0100 |
commit | 4105378dc7479a3dbd39a4afb3eba67d083bd7f8 (patch) | |
tree | ba93767a71f0b4d0eb45f6b335dc122a72208f60 /crates/syntax/test_data/lexer/ok/0007_lifetimes.rs | |
parent | 2fa942ad3057bac90869263963daf8b02651d3de (diff) | |
parent | f352b98f7e8f5638c83d6b2d9a6bdda89de9bd32 (diff) |
Merge #6330
6330: Textmate grammar: raw IDs, underscore fixes (closes #6293, #6340) r=dustypomerleau a=dustypomerleau
Fixes https://github.com/rust-analyzer/rust-analyzer/issues/6293.
I've included the possibility of the `r#` prefix in:
- function definitions
- function/method calls
- variables/parameters
This way the raw ID will simply get whatever the intended scope was, instead of a unique scope that might be inappropriately themed for its purpose.
Will wait a bit for feedback, in case there are other places you might use raw IDs.
Co-authored-by: Dusty Pomerleau <[email protected]>
Diffstat (limited to 'crates/syntax/test_data/lexer/ok/0007_lifetimes.rs')
0 files changed, 0 insertions, 0 deletions