about summary refs log tree commit diff
path: root/editors/code/package.json
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2023-03-25 23:03:22 +0100
committerLukas Wirth <lukastw97@gmail.com>2023-03-30 12:52:28 +0200
commit5616d91b732134fca2142f858a01aefb1eb2681e (patch)
tree5006ee5fb0e7fc78a2db8363baf11fdbe12f02ef /editors/code/package.json
parent27c076a36744f7f8be3b950891cbc0350dc29f6e (diff)
downloadrust-5616d91b732134fca2142f858a01aefb1eb2681e.tar.gz
rust-5616d91b732134fca2142f858a01aefb1eb2681e.zip
internal: Add config to specifiy lru capacities for all queries
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 42cbc0e0d1f..59ac9c8d17f 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -1247,6 +1247,11 @@
                     ],
                     "minimum": 0
                 },
+                "rust-analyzer.lru.query.capacities": {
+                    "markdownDescription": "Sets the LRU capacity of the specified queries.",
+                    "default": {},
+                    "type": "object"
+                },
                 "rust-analyzer.notifications.cargoTomlNotFound": {
                     "markdownDescription": "Whether to show `can't find Cargo.toml` error message.",
                     "default": true,