mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
Improved compatibility with themes
This commit is contained in:
parent
4e288c64ff
commit
358b9d685f
2 changed files with 10 additions and 6 deletions
|
@ -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"]],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue