diff options
| author | bors <bors@rust-lang.org> | 2023-03-30 12:20:24 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-03-30 12:20:24 +0000 |
| commit | fc8c5139fad70696f99d27e2ca1f59e4672fd017 (patch) | |
| tree | dadd4bf5a8f9bfc811e754c92d9c7dccf0f08889 /docs | |
| parent | b915eb32fafd465ed02b27f1ba03c2d9b35dc87d (diff) | |
| parent | 5616d91b732134fca2142f858a01aefb1eb2681e (diff) | |
| download | rust-fc8c5139fad70696f99d27e2ca1f59e4672fd017.tar.gz rust-fc8c5139fad70696f99d27e2ca1f59e4672fd017.zip | |
Auto merge of #14410 - Veykril:query-lru-capacities, r=Veykril
internal: Add config to specifiy lru capacities for all queries Might help figuring out what queries should be limited by LRU by default, as currently we only limit `parse`, `parse_macro_expansion` and `macro_expand`.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/user/generated_config.adoc | 5 |
1 files changed, 5 insertions, 0 deletions
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`):: + -- |
