diff options
author | Seivan Heidari <[email protected]> | 2019-10-27 16:57:11 +0000 |
---|---|---|
committer | Seivan Heidari <[email protected]> | 2019-10-27 16:57:11 +0000 |
commit | 0ddf47a7ab9d0f616e7296fa9a0b0eb786e4ee59 (patch) | |
tree | 80234db0e3af0d5f0b428a18f1b66f8fa2ba3bea /crates/ra_syntax/src/parsing.rs | |
parent | 5957b851e4451050151722598fa1ff9d41ccf0ff (diff) |
Introducing a Scopes Mapper to map from RA scopes to TextMate scopes with fallbacks.
Current scopes defined:
```
['keyword.unsafe', ['storage.modifier', 'keyword.other', 'keyword.control']],
['function', ['entity.name.function']],
['parameter', ['variable.parameter']],
['type', ['entity.name.type']],
['builtin', ['variable.language', 'support.type', 'support.type']],
['text', ['string', 'string.quoted', 'string.regexp']],
['attribute', ['keyword']],
['literal', ['string', 'string.quoted', 'string.regexp']],
['macro', ['support.other']],
['variable.mut', ['variable']],
['field', ['variable.object.property']],
['module', ['entity.name.section']]
```
Need to complement with further fallbacks as some themes fail.
Diffstat (limited to 'crates/ra_syntax/src/parsing.rs')
0 files changed, 0 insertions, 0 deletions