From 553bb7f50aac5d062fd8ba534d18f70aaa9bd25b Mon Sep 17 00:00:00 2001 From: Paul Horn Date: Thu, 18 Nov 2021 17:30:36 +0100 Subject: Allow clients to configure the global workspace search limit --- docs/user/generated_config.adoc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/user') diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index c7bb1bf6420..8e4c3462b56 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -461,3 +461,10 @@ Workspace symbol search scope. -- Workspace symbol search kind. -- +[[rust-analyzer.workspace.symbol.search.limit]]rust-analyzer.workspace.symbol.search.limit (default: `128`):: ++ +-- +Limits the number of items returned from a workspace symbol search (Defaults to 128). +Some clients like vs-code issue new searches on result filtering and don't require all results to be returned in the initial search. +Other clients requires all results upfront and might require a higher limit. +-- -- cgit 1.4.1-3-g733a5