diff options
author | Andy Russell <[email protected]> | 2021-05-04 22:13:51 +0100 |
---|---|---|
committer | Andy Russell <[email protected]> | 2021-05-23 20:50:36 +0100 |
commit | a90b9a5872c9c916733816e1e0d8c95cb09bfcba (patch) | |
tree | 6b170854407d2ed0e667623c8cdf1fb4a844230c /docs | |
parent | 16054887102104208f4a0fc0e75e702b85a2eae8 (diff) |
implement range formatting
Diffstat (limited to 'docs')
-rw-r--r-- | docs/user/generated_config.adoc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index c02bab7cc..f3da82feb 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc | |||
@@ -346,6 +346,13 @@ Additional arguments to `rustfmt`. | |||
346 | Advanced option, fully override the command rust-analyzer uses for | 346 | Advanced option, fully override the command rust-analyzer uses for |
347 | formatting. | 347 | formatting. |
348 | -- | 348 | -- |
349 | [[rust-analyzer.rustfmt.enableRangeFormatting]]rust-analyzer.rustfmt.enableRangeFormatting (default: `false`):: | ||
350 | + | ||
351 | -- | ||
352 | Enables the use of rustfmt's unstable range formatting command for the | ||
353 | `textDocument/rangeFormatting` request. The rustfmt option is unstable and only | ||
354 | available on a nightly build. | ||
355 | -- | ||
349 | [[rust-analyzer.workspace.symbol.search.scope]]rust-analyzer.workspace.symbol.search.scope (default: `"workspace"`):: | 356 | [[rust-analyzer.workspace.symbol.search.scope]]rust-analyzer.workspace.symbol.search.scope (default: `"workspace"`):: |
350 | + | 357 | + |
351 | -- | 358 | -- |