diff options
| author | Junliang HU <jlhu@cse.cuhk.edu.hk> | 2022-12-09 21:36:35 +0800 |
|---|---|---|
| committer | Junliang HU <jlhu@cse.cuhk.edu.hk> | 2022-12-09 21:36:35 +0800 |
| commit | 9f5a547b3f91bee46e3015eb11cce8772820398b (patch) | |
| tree | e388d3bdc6bcbcff5d35665c6ae87f45f485960c | |
| parent | 7d466570f47f67819edb556ccd3658b9073ec088 (diff) | |
Regenerate config
| -rw-r--r-- | docs/user/generated_config.adoc | 5 | ||||
| -rw-r--r-- | editors/code/package.json | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index db41c7bf109..f59a5243648 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -604,6 +604,11 @@ Number of syntax trees rust-analyzer keeps in memory. Defaults to 128. -- Whether to show `can't find Cargo.toml` error message. -- +[[rust-analyzer.numThreads]]rust-analyzer.numThreads (default: `null`):: ++ +-- +How many worker threads in the main loop. The default `null` means to pick automatically. +-- [[rust-analyzer.procMacro.attributes.enable]]rust-analyzer.procMacro.attributes.enable (default: `true`):: + -- diff --git a/editors/code/package.json b/editors/code/package.json index ad5f97bb191..26a1e81f130 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -1137,6 +1137,15 @@ "default": true, "type": "boolean" }, + "rust-analyzer.numThreads": { + "markdownDescription": "How many worker threads in the main loop. The default `null` means to pick automatically.", + "default": null, + "type": [ + "null", + "integer" + ], + "minimum": 0 + }, "rust-analyzer.procMacro.attributes.enable": { "markdownDescription": "Expand attribute macros. Requires `#rust-analyzer.procMacro.enable#` to be set.", "default": true, |
