diff options
author | Omer Ben-Amram <[email protected]> | 2019-12-14 11:24:07 +0000 |
---|---|---|
committer | Omer Ben-Amram <[email protected]> | 2019-12-14 11:24:07 +0000 |
commit | 67641d3f5fd1cfd49673c4eea9e3d646ed97e108 (patch) | |
tree | 5602a4f4ba4314e22a75923ae741de58c0ca3a9c /crates | |
parent | 30672c420ee19faa1acc15ecc84ae8d17c309e95 (diff) |
added decorations
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_ide/src/syntax_highlighting.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_ide/src/syntax_highlighting.rs b/crates/ra_ide/src/syntax_highlighting.rs index cd9d8b058..7be25b234 100644 --- a/crates/ra_ide/src/syntax_highlighting.rs +++ b/crates/ra_ide/src/syntax_highlighting.rs | |||
@@ -225,8 +225,8 @@ fn highlight_name(db: &RootDatabase, name_kind: NameKind) -> &'static str { | |||
225 | Def(hir::ModuleDef::EnumVariant(_)) => "constant", | 225 | Def(hir::ModuleDef::EnumVariant(_)) => "constant", |
226 | Def(hir::ModuleDef::Const(_)) => "constant", | 226 | Def(hir::ModuleDef::Const(_)) => "constant", |
227 | Def(hir::ModuleDef::Static(_)) => "constant", | 227 | Def(hir::ModuleDef::Static(_)) => "constant", |
228 | Def(hir::ModuleDef::Trait(_)) => "type.trait", | 228 | Def(hir::ModuleDef::Trait(_)) => "type", |
229 | Def(hir::ModuleDef::TypeAlias(_)) => "type.alias", | 229 | Def(hir::ModuleDef::TypeAlias(_)) => "type", |
230 | Def(hir::ModuleDef::BuiltinType(_)) => "type.builtin", | 230 | Def(hir::ModuleDef::BuiltinType(_)) => "type.builtin", |
231 | SelfType(_) => "type.self", | 231 | SelfType(_) => "type.self", |
232 | TypeParam(_) => "type.param", | 232 | TypeParam(_) => "type.param", |