diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-04-03 12:03:46 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-03 12:03:46 +0000 |
| commit | bc0825d1358abece6e85b928ea3a197451d083c7 (patch) | |
| tree | 61debaa0bb83d9668d1a6408af2086634becee69 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff | |
| parent | 5b5ca0bd17febc252eb5f4e8d645c1c2ea060279 (diff) | |
| parent | 553bb7f50aac5d062fd8ba534d18f70aaa9bd25b (diff) | |
| download | rust-bc0825d1358abece6e85b928ea3a197451d083c7.tar.gz rust-bc0825d1358abece6e85b928ea3a197451d083c7.zip | |
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>
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
