diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2023-05-05 13:34:55 +0200 |
|---|---|---|
| committer | Lukas Wirth <lukastw97@gmail.com> | 2023-05-05 13:38:22 +0200 |
| commit | 8081a654dac2e174c465263292616858e7f7ac1b (patch) | |
| tree | b9ed67594d82016ac30cabf2648f39acfcad07ac /docs | |
| parent | 0dd94d3b078fa524272f942f69239a9564532fe1 (diff) | |
| download | rust-8081a654dac2e174c465263292616858e7f7ac1b.tar.gz rust-8081a654dac2e174c465263292616858e7f7ac1b.zip | |
feat: Closure capture inlay hints
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/user/generated_config.adoc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index aad6969671c..187be26f175 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -474,6 +474,11 @@ Whether to show inlay hints after a closing `}` to indicate what item it belongs Minimum number of lines required before the `}` until the hint is shown (set to 0 or 1 to always show them). -- +[[rust-analyzer.inlayHints.closureCaptureHints.enable]]rust-analyzer.inlayHints.closureCaptureHints.enable (default: `false`):: ++ +-- +Whether to show inlay hints for closure captures. +-- [[rust-analyzer.inlayHints.closureReturnTypeHints.enable]]rust-analyzer.inlayHints.closureReturnTypeHints.enable (default: `"never"`):: + -- |
