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>
This commit is contained in:
bors[bot] 2020-01-11 16:56:11 +00:00 committed by GitHub
commit 7326608536
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -217,7 +217,10 @@
"description": "Trace requests to the ra_lsp_server"
},
"rust-analyzer.lruCapacity": {
"type": "number",
"type": [
"number",
"null"
],
"default": null,
"description": "Number of syntax trees rust-analyzer keeps in memory"
},