From 1c8467e20aa8d481a4583a1c2cf40fad3d2ff53c Mon Sep 17 00:00:00 2001
From: Aleksey Kladov <aleksey.kladov@gmail.com>
Date: Tue, 17 Dec 2019 14:43:37 +0100
Subject: Fix highlighting token names

---
 editors/code/src/highlighting.ts | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'editors')

diff --git a/editors/code/src/highlighting.ts b/editors/code/src/highlighting.ts
index d7c0ae131..e1b0d13e7 100644
--- a/editors/code/src/highlighting.ts
+++ b/editors/code/src/highlighting.ts
@@ -52,12 +52,12 @@ export class Highlighter {
             decoration('function'),
             decoration('parameter'),
             decoration('constant'),
-            decoration('type'),
-            decoration('type.self'),
+            decoration('type.builtin'),
             decoration('type.generic'),
-            decoration('type.param'),
             decoration('type.lifetime'),
-            decoration('builtin'),
+            decoration('type.param'),
+            decoration('type.self'),
+            decoration('type'),
             decoration('text'),
             decoration('attribute'),
             decoration('literal'),
-- 
cgit v1.2.3