diff options
Diffstat (limited to 'editors/code/src/highlighting.ts')
-rw-r--r-- | editors/code/src/highlighting.ts | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/editors/code/src/highlighting.ts b/editors/code/src/highlighting.ts index c7ee8c0a1..96d550376 100644 --- a/editors/code/src/highlighting.ts +++ b/editors/code/src/highlighting.ts | |||
@@ -151,32 +151,32 @@ class Highlighter { | |||
151 | string, | 151 | string, |
152 | vscode.TextEditorDecorationType, | 152 | vscode.TextEditorDecorationType, |
153 | ]> = [ | 153 | ]> = [ |
154 | decoration('comment'), | 154 | decoration('comment'), |
155 | decoration('string'), | 155 | decoration('string'), |
156 | decoration('keyword'), | 156 | decoration('keyword'), |
157 | decoration('keyword.control'), | 157 | decoration('keyword.control'), |
158 | decoration('keyword.unsafe'), | 158 | decoration('keyword.unsafe'), |
159 | decoration('function'), | 159 | decoration('function'), |
160 | decoration('parameter'), | 160 | decoration('parameter'), |
161 | decoration('constant'), | 161 | decoration('constant'), |
162 | decoration('type.builtin'), | 162 | decoration('type.builtin'), |
163 | decoration('type.generic'), | 163 | decoration('type.generic'), |
164 | decoration('type.lifetime'), | 164 | decoration('type.lifetime'), |
165 | decoration('type.param'), | 165 | decoration('type.param'), |
166 | decoration('type.self'), | 166 | decoration('type.self'), |
167 | decoration('type'), | 167 | decoration('type'), |
168 | decoration('text'), | 168 | decoration('text'), |
169 | decoration('attribute'), | 169 | decoration('attribute'), |
170 | decoration('literal'), | 170 | decoration('literal'), |
171 | decoration('literal.numeric'), | 171 | decoration('literal.numeric'), |
172 | decoration('literal.char'), | 172 | decoration('literal.char'), |
173 | decoration('literal.byte'), | 173 | decoration('literal.byte'), |
174 | decoration('macro'), | 174 | decoration('macro'), |
175 | decoration('variable'), | 175 | decoration('variable'), |
176 | decoration('variable.mut', 'underline'), | 176 | decoration('variable.mut', 'underline'), |
177 | decoration('field'), | 177 | decoration('field'), |
178 | decoration('module'), | 178 | decoration('module'), |
179 | ]; | 179 | ]; |
180 | 180 | ||
181 | return new Map<string, vscode.TextEditorDecorationType>(decorations); | 181 | return new Map<string, vscode.TextEditorDecorationType>(decorations); |
182 | } | 182 | } |