aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/scopes_mapper.ts
Commit message (Collapse)AuthorAgeFilesLines
* Adding debugging to figure out missing scopes from theme.Seivan Heidari2019-10-271-6/+6
|
* Adding all the decorators from RA to map.Seivan Heidari2019-10-271-0/+6
| | | | Useful for more granular control.
* Introducing a Scopes Mapper to map from RA scopes to TextMate scopes with ↵Seivan Heidari2019-10-271-0/+42
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.