Improved compatibility with themes

This commit is contained in:
eaglgenes101 2020-02-20 12:40:12 -05:00
parent 4e288c64ff
commit 358b9d685f
2 changed files with 10 additions and 6 deletions

View file

@ -233,16 +233,16 @@ const TAG_TO_SCOPES = new Map<string, string[]>([
["type", ["entity.name.type"]],
["type.builtin", ["entity.name.type", "support.type.primitive"]],
["type.self", ["entity.name.type.parameter.self"]],
["type.param", ["entity.name.type.parameter"]],
["type.lifetime", ["entity.name.type.lifetime"]],
["type.param", ["entity.name.type.parameter", "entity.name.type.param.rust"]],
["type.lifetime", ["entity.name.type.lifetime", "entity.name.lifetime.rust"]],
["literal.byte", ["constant.character.byte"]],
["literal.char", ["constant.character"]],
["literal.char", ["constant.character.rust"]],
["literal.numeric", ["constant.numeric"]],
["comment", ["comment"]],
["string", ["string.quoted"]],
["attribute", ["meta.attribute"]],
["attribute", ["meta.attribute.rust"]],
["keyword", ["keyword"]],
["keyword.unsafe", ["keyword.other.unsafe"]],