diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-02-17 09:05:01 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-17 09:05:01 +0000 |
commit | 953dbe3e02fa87bab2f12452746e6c50a47ac153 (patch) | |
tree | d1bd6044ce673398b79baaa318a3d063cae290f9 /editors/code/package.json | |
parent | c9989a524caa3379aac4f451a452c7ac9b247ae8 (diff) | |
parent | a2b0bdcc24a64061364aaa017bf6caef1810da7c (diff) |
Merge #3181
3181: Add ability to pass additional arguments to rustfmt. r=matklad a=Leonqn
relates to #2848
Co-authored-by: Ilya Titkov <[email protected]>
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index ed1cae2ab..46acbfe76 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -188,6 +188,14 @@ | |||
188 | "default": [], | 188 | "default": [], |
189 | "description": "Paths to exclude from analysis" | 189 | "description": "Paths to exclude from analysis" |
190 | }, | 190 | }, |
191 | "rust-analyzer.rustfmtArgs": { | ||
192 | "type": "array", | ||
193 | "items": { | ||
194 | "type": "string" | ||
195 | }, | ||
196 | "default": [], | ||
197 | "description": "Additional arguments to rustfmt" | ||
198 | }, | ||
191 | "rust-analyzer.useClientWatching": { | 199 | "rust-analyzer.useClientWatching": { |
192 | "type": "boolean", | 200 | "type": "boolean", |
193 | "default": true, | 201 | "default": true, |
@@ -233,7 +241,10 @@ | |||
233 | "description": "Trace requests to the ra_lsp_server" | 241 | "description": "Trace requests to the ra_lsp_server" |
234 | }, | 242 | }, |
235 | "rust-analyzer.lruCapacity": { | 243 | "rust-analyzer.lruCapacity": { |
236 | "type": [ "null", "integer" ], | 244 | "type": [ |
245 | "null", | ||
246 | "integer" | ||
247 | ], | ||
237 | "default": null, | 248 | "default": null, |
238 | "minimum": 0, | 249 | "minimum": 0, |
239 | "exclusiveMinimum": true, | 250 | "exclusiveMinimum": true, |
@@ -245,7 +256,10 @@ | |||
245 | "description": "Display additional type and parameter information in the editor" | 256 | "description": "Display additional type and parameter information in the editor" |
246 | }, | 257 | }, |
247 | "rust-analyzer.maxInlayHintLength": { | 258 | "rust-analyzer.maxInlayHintLength": { |
248 | "type": [ "null", "integer" ], | 259 | "type": [ |
260 | "null", | ||
261 | "integer" | ||
262 | ], | ||
249 | "default": 20, | 263 | "default": 20, |
250 | "minimum": 0, | 264 | "minimum": 0, |
251 | "exclusiveMinimum": true, | 265 | "exclusiveMinimum": true, |