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