aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_ide/src/syntax_highlighting.rs4
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",