aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src
diff options
context:
space:
mode:
authorLaurenČ›iu Nicola <[email protected]>2019-05-23 11:26:38 +0100
committerLaurenČ›iu Nicola <[email protected]>2019-05-23 13:31:35 +0100
commitf1ec88cc56c0bb24c56e6f9f898ac567ce34c79f (patch)
tree72f4f2b23092cebb2632ee430bf29ab69c6d53f1 /editors/code/src
parent44665685257f18d182ab116855dd9e8b054c49da (diff)
Improve highlighting of name refs
Diffstat (limited to 'editors/code/src')
-rw-r--r--editors/code/src/highlighting.ts7
1 files changed, 6 insertions, 1 deletions
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 {
33 colorContrib('keyword.unsafe'), 33 colorContrib('keyword.unsafe'),
34 colorContrib('function'), 34 colorContrib('function'),
35 colorContrib('parameter'), 35 colorContrib('parameter'),
36 colorContrib('constant'),
37 colorContrib('type'),
36 colorContrib('builtin'), 38 colorContrib('builtin'),
37 colorContrib('text'), 39 colorContrib('text'),
38 colorContrib('attribute'), 40 colorContrib('attribute'),
39 colorContrib('literal'), 41 colorContrib('literal'),
40 colorContrib('macro') 42 colorContrib('macro'),
43 colorContrib('variable'),
44 colorContrib('field'),
45 colorContrib('module')
41 ]; 46 ];
42 47
43 return new Map<string, vscode.TextEditorDecorationType>(decorations); 48 return new Map<string, vscode.TextEditorDecorationType>(decorations);