diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-01-11 16:56:11 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-01-11 16:56:11 +0000 |
commit | 73266085364d2a559d805c6ab942efee7be56f62 (patch) | |
tree | 6b9342ab14b7219f0430f234ea3eddb01e195233 /editors/code | |
parent | 991b62a4f935ce49dafbf0ce252f7fdb467daae8 (diff) | |
parent | 08fa0151ed27b01e4ed4b144e007255c792657c0 (diff) |
Merge #2796
2796: Fix lruCapacity config key in VSCode r=kjeremy a=marcogroppo
Closes #2789.
This simply adds `null` as a valid value for the configuration key.
We could use the server-side default value (128) instead, but in that case every time we change its value on the server side we would have to update it on the client side too.
Co-authored-by: Marco Groppo <[email protected]>
Diffstat (limited to 'editors/code')
-rw-r--r-- | editors/code/package.json | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 7d809a2d3..e7fc314f3 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -217,7 +217,10 @@ | |||
217 | "description": "Trace requests to the ra_lsp_server" | 217 | "description": "Trace requests to the ra_lsp_server" |
218 | }, | 218 | }, |
219 | "rust-analyzer.lruCapacity": { | 219 | "rust-analyzer.lruCapacity": { |
220 | "type": "number", | 220 | "type": [ |
221 | "number", | ||
222 | "null" | ||
223 | ], | ||
221 | "default": null, | 224 | "default": null, |
222 | "description": "Number of syntax trees rust-analyzer keeps in memory" | 225 | "description": "Number of syntax trees rust-analyzer keeps in memory" |
223 | }, | 226 | }, |