diff options
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 65 |
1 files changed, 64 insertions, 1 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 69298e917..f28ce1772 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -34,7 +34,8 @@ | |||
34 | "dependencies": { | 34 | "dependencies": { |
35 | "lookpath": "^1.0.4", | 35 | "lookpath": "^1.0.4", |
36 | "seedrandom": "^3.0.5", | 36 | "seedrandom": "^3.0.5", |
37 | "vscode-languageclient": "^6.0.0-next.9" | 37 | "vscode-languageclient": "^6.0.0-next.9", |
38 | "jsonc-parser": "^2.1.0" | ||
38 | }, | 39 | }, |
39 | "devDependencies": { | 40 | "devDependencies": { |
40 | "@types/glob": "^7.1.1", | 41 | "@types/glob": "^7.1.1", |
@@ -166,6 +167,68 @@ | |||
166 | "default": false, | 167 | "default": false, |
167 | "description": "Highlight Rust code (overrides built-in syntax highlighting)" | 168 | "description": "Highlight Rust code (overrides built-in syntax highlighting)" |
168 | }, | 169 | }, |
170 | "rust-analyzer.scopeMappings": { | ||
171 | "type": "object", | ||
172 | "definitions": {}, | ||
173 | "properties": { | ||
174 | "comment": { | ||
175 | "$ref": "vscode://schemas/textmate-colors#/items/properties/scope" | ||
176 | }, | ||
177 | "string": { | ||
178 | "$ref": "vscode://schemas/textmate-colors#/items/properties/scope" | ||
179 | }, | ||
180 | "keyword": { | ||
181 | "$ref": "vscode://schemas/textmate-colors#/items/properties/scope" | ||
182 | }, | ||
183 | "keyword.control": { | ||
184 | "$ref": "vscode://schemas/textmate-colors#/items/properties/scope" | ||
185 | }, | ||
186 | "keyword.unsafe": { | ||
187 | "$ref": "vscode://schemas/textmate-colors#/items/properties/scope" | ||
188 | }, | ||
189 | "function": { | ||
190 | "$ref": "vscode://schemas/textmate-colors#/items/properties/scope" | ||
191 | }, | ||
192 | "parameter": { | ||
193 | "$ref": "vscode://schemas/textmate-colors#/items/properties/scope" | ||
194 | }, | ||
195 | "constant": { | ||
196 | "$ref": "vscode://schemas/textmate-colors#/items/properties/scope" | ||
197 | }, | ||
198 | "type": { | ||
199 | "$ref": "vscode://schemas/textmate-colors#/items/properties/scope" | ||
200 | }, | ||
201 | "builtin": { | ||
202 | "$ref": "vscode://schemas/textmate-colors#/items/properties/scope" | ||
203 | }, | ||
204 | "text": { | ||
205 | "$ref": "vscode://schemas/textmate-colors#/items/properties/scope" | ||
206 | }, | ||
207 | "attribute": { | ||
208 | "$ref": "vscode://schemas/textmate-colors#/items/properties/scope" | ||
209 | }, | ||
210 | "literal": { | ||
211 | "$ref": "vscode://schemas/textmate-colors#/items/properties/scope" | ||
212 | }, | ||
213 | "macro": { | ||
214 | "$ref": "vscode://schemas/textmate-colors#/items/properties/scope" | ||
215 | }, | ||
216 | "variable": { | ||
217 | "$ref": "vscode://schemas/textmate-colors#/items/properties/scope" | ||
218 | }, | ||
219 | "variable.mut": { | ||
220 | "$ref": "vscode://schemas/textmate-colors#/items/properties/scope" | ||
221 | }, | ||
222 | "field": { | ||
223 | "$ref": "vscode://schemas/textmate-colors#/items/properties/scope" | ||
224 | }, | ||
225 | "module": { | ||
226 | "$ref": "vscode://schemas/textmate-colors#/items/properties/scope" | ||
227 | } | ||
228 | }, | ||
229 | "additionalProperties": false, | ||
230 | "description": "Mapping Rust Analyzer scopes to TextMateRule scopes list." | ||
231 | }, | ||
169 | "rust-analyzer.rainbowHighlightingOn": { | 232 | "rust-analyzer.rainbowHighlightingOn": { |
170 | "type": "boolean", | 233 | "type": "boolean", |
171 | "default": false, | 234 | "default": false, |