diff options
| author | bors <bors@rust-lang.org> | 2022-12-22 09:37:00 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-12-22 09:37:00 +0000 |
| commit | eb3963b22ec8ec7e99aeb1a2c7acb5689a2f76c5 (patch) | |
| tree | 00b5b12b410e0ee25ca156a5018c393765e41916 /docs | |
| parent | 271f7b44d3d71db2ec2d0cd1a8a59aa16f902d49 (diff) | |
| parent | 1038db5f1d79155860bd9e1487c0df34ec542b39 (diff) | |
| download | rust-eb3963b22ec8ec7e99aeb1a2c7acb5689a2f76c5.tar.gz rust-eb3963b22ec8ec7e99aeb1a2c7acb5689a2f76c5.zip | |
Auto merge of #13817 - WaffleLapkin:hide_adjustment_hints_outside_of_unsafe, r=Veykril
feat: Add an option to hide adjustment hints outside of `unsafe` blocks and functions As the title suggests: this PR adds an option (namely `rust-analyzer.inlayHints.expressionAdjustmentHints.hideOutsideUnsafe`) that allows to hide adjustment hints outside of `unsafe` blocks and functions:  Requested by `@BoxyUwU` <3
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 47511aad0fe..867fd5620fd 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -459,6 +459,11 @@ Whether to show inlay type hints for return types of closures. -- Whether to show inlay hints for type adjustments. -- +[[rust-analyzer.inlayHints.expressionAdjustmentHints.hideOutsideUnsafe]]rust-analyzer.inlayHints.expressionAdjustmentHints.hideOutsideUnsafe (default: `false`):: ++ +-- +Whether to hide inlay hints for type adjustments outside of `unsafe` blocks. +-- [[rust-analyzer.inlayHints.lifetimeElisionHints.enable]]rust-analyzer.inlayHints.lifetimeElisionHints.enable (default: `"never"`):: + -- |
