rust/crates/rust-analyzer
bors[bot] bc0825d135
Merge #10802
10802: Allow clients to configure the global workspace search limit r=Veykril a=knutwalker

Playing around with [helix](https://helix-editor.com) I realized that the global worksapce symbol search works different compared to vs-code.
Helix requires all possible symbols in one query and does no subsequent refinement searched.
This PR adds a configuration option to override the default search limit with the default being the currently hardocded value.
Helix users can increment this limit for their instance with a config like

```toml
[[language]]
name = "rust"
language-server = { command = "rust-analyzer" }
[language.config]
workspace = { symbol = { search = { limit = 65536 }}}
```

Other editors are not affected by this change.


Co-authored-by: Paul Horn <dev@knutwalker.engineer>
2022-04-03 12:03:46 +00:00
..
src Merge #10802 2022-04-03 12:03:46 +00:00
tests/slow-tests Bump deps 2022-03-17 19:24:37 +02:00
build.rs Add semicolons for consistency 2021-10-03 23:39:43 +11:00
Cargo.toml minor: Bump dependencies 2022-03-22 17:42:24 +01:00