about summary refs log tree commit diff
path: root/editors/code/src
diff options
context:
space:
mode:
authorOmer Ben-Amram <omerbenamram@gmail.com>2019-12-14 13:24:07 +0200
committerOmer Ben-Amram <omerbenamram@gmail.com>2019-12-14 13:24:07 +0200
commit67641d3f5fd1cfd49673c4eea9e3d646ed97e108 (patch)
tree5602a4f4ba4314e22a75923ae741de58c0ca3a9c /editors/code/src
parent30672c420ee19faa1acc15ecc84ae8d17c309e95 (diff)
downloadrust-67641d3f5fd1cfd49673c4eea9e3d646ed97e108.tar.gz
rust-67641d3f5fd1cfd49673c4eea9e3d646ed97e108.zip
added decorations
Diffstat (limited to 'editors/code/src')
-rw-r--r--editors/code/src/highlighting.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/editors/code/src/highlighting.ts b/editors/code/src/highlighting.ts
index 6d50a2f2ded..2c8a98aa695 100644
--- a/editors/code/src/highlighting.ts
+++ b/editors/code/src/highlighting.ts
@@ -53,10 +53,16 @@ export class Highlighter {
             decoration('parameter'),
             decoration('constant'),
             decoration('type'),
+            decoration('type.self'),
+            decoration('type.generic'),
+            decoration('type.param'),
             decoration('builtin'),
             decoration('text'),
             decoration('attribute'),
             decoration('literal'),
+            decoration('literal.numeric'),
+            decoration('literal.char'),
+            decoration('literal.byte'),
             decoration('macro'),
             decoration('variable'),
             decoration('variable.mut', 'underline'),