about summary refs log tree commit diff
path: root/editors/code/src
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2019-12-17 14:43:37 +0100
committerAleksey Kladov <aleksey.kladov@gmail.com>2019-12-17 14:45:46 +0100
commit1c8467e20aa8d481a4583a1c2cf40fad3d2ff53c (patch)
treefb9121c4878acd686dd8579dee0f6c177155fc54 /editors/code/src
parent7191dd7d5311af0ad8ce5ea9d6d81b64acd25355 (diff)
downloadrust-1c8467e20aa8d481a4583a1c2cf40fad3d2ff53c.tar.gz
rust-1c8467e20aa8d481a4583a1c2cf40fad3d2ff53c.zip
Fix highlighting token names
Diffstat (limited to 'editors/code/src')
-rw-r--r--editors/code/src/highlighting.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/editors/code/src/highlighting.ts b/editors/code/src/highlighting.ts
index d7c0ae1316a..e1b0d13e701 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'),