Skip to content

Commit 7326608

Browse files
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 <marco.groppo@gmail.com>
2 parents 991b62a + 08fa015 commit 7326608

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

editors/code/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,10 @@
217217
"description": "Trace requests to the ra_lsp_server"
218218
},
219219
"rust-analyzer.lruCapacity": {
220-
"type": "number",
220+
"type": [
221+
"number",
222+
"null"
223+
],
221224
"default": null,
222225
"description": "Number of syntax trees rust-analyzer keeps in memory"
223226
},

0 commit comments

Comments
 (0)