From f1ec88cc56c0bb24c56e6f9f898ac567ce34c79f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Thu, 23 May 2019 13:26:38 +0300 Subject: Improve highlighting of name refs --- editors/code/src/highlighting.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'editors/code/src') diff --git a/editors/code/src/highlighting.ts b/editors/code/src/highlighting.ts index e1a68544a..8389d94b8 100644 --- a/editors/code/src/highlighting.ts +++ b/editors/code/src/highlighting.ts @@ -33,11 +33,16 @@ export class Highlighter { colorContrib('keyword.unsafe'), colorContrib('function'), colorContrib('parameter'), + colorContrib('constant'), + colorContrib('type'), colorContrib('builtin'), colorContrib('text'), colorContrib('attribute'), colorContrib('literal'), - colorContrib('macro') + colorContrib('macro'), + colorContrib('variable'), + colorContrib('field'), + colorContrib('module') ]; return new Map(decorations); -- cgit v1.2.3