From 5616d91b732134fca2142f858a01aefb1eb2681e Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Sat, 25 Mar 2023 23:03:22 +0100 Subject: internal: Add config to specifiy lru capacities for all queries --- docs/user/generated_config.adoc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs') diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index 6937a7ed9a2..12dfe394f1d 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -639,6 +639,11 @@ Elements must be paths pointing to `Cargo.toml`, -- Number of syntax trees rust-analyzer keeps in memory. Defaults to 128. -- +[[rust-analyzer.lru.query.capacities]]rust-analyzer.lru.query.capacities (default: `{}`):: ++ +-- +Sets the LRU capacity of the specified queries. +-- [[rust-analyzer.notifications.cargoTomlNotFound]]rust-analyzer.notifications.cargoTomlNotFound (default: `true`):: + -- -- cgit 1.4.1-3-g733a5