diff options
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index dff535fcd..2a89987e8 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -18,6 +18,7 @@ | |||
18 | "engines": { | 18 | "engines": { |
19 | "vscode": "^1.42.0" | 19 | "vscode": "^1.42.0" |
20 | }, | 20 | }, |
21 | "enableProposedApi": true, | ||
21 | "scripts": { | 22 | "scripts": { |
22 | "vscode:prepublish": "tsc && rollup -c", | 23 | "vscode:prepublish": "tsc && rollup -c", |
23 | "package": "vsce package -o rust-analyzer.vsix", | 24 | "package": "vsce package -o rust-analyzer.vsix", |
@@ -27,7 +28,6 @@ | |||
27 | "dependencies": { | 28 | "dependencies": { |
28 | "jsonc-parser": "^2.1.0", | 29 | "jsonc-parser": "^2.1.0", |
29 | "node-fetch": "^2.6.0", | 30 | "node-fetch": "^2.6.0", |
30 | "throttle-debounce": "^2.1.0", | ||
31 | "vscode-languageclient": "^6.1.1" | 31 | "vscode-languageclient": "^6.1.1" |
32 | }, | 32 | }, |
33 | "devDependencies": { | 33 | "devDependencies": { |
@@ -35,7 +35,6 @@ | |||
35 | "@rollup/plugin-node-resolve": "^7.1.1", | 35 | "@rollup/plugin-node-resolve": "^7.1.1", |
36 | "@types/node": "^12.12.27", | 36 | "@types/node": "^12.12.27", |
37 | "@types/node-fetch": "^2.5.4", | 37 | "@types/node-fetch": "^2.5.4", |
38 | "@types/throttle-debounce": "^2.1.0", | ||
39 | "@types/vscode": "^1.42.0", | 38 | "@types/vscode": "^1.42.0", |
40 | "@typescript-eslint/eslint-plugin": "^2.20.0", | 39 | "@typescript-eslint/eslint-plugin": "^2.20.0", |
41 | "@typescript-eslint/parser": "^2.20.0", | 40 | "@typescript-eslint/parser": "^2.20.0", |
@@ -169,6 +168,11 @@ | |||
169 | "type": "object", | 168 | "type": "object", |
170 | "title": "Rust Analyzer", | 169 | "title": "Rust Analyzer", |
171 | "properties": { | 170 | "properties": { |
171 | "rust-analyzer.highlighting.semanticTokens": { | ||
172 | "type": "boolean", | ||
173 | "default": false, | ||
174 | "description": "Use proposed semantic tokens API for syntax highlighting" | ||
175 | }, | ||
172 | "rust-analyzer.highlightingOn": { | 176 | "rust-analyzer.highlightingOn": { |
173 | "type": "boolean", | 177 | "type": "boolean", |
174 | "default": false, | 178 | "default": false, |