about summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2020-03-12 18:04:11 +0100
committerAleksey Kladov <aleksey.kladov@gmail.com>2020-03-12 18:04:11 +0100
commitddfac09363fa778e3830cdb7a9ce6de3d779072e (patch)
tree5ec90c43aa979d20a21aabd54c801d4bc39b69fd /docs
parentb3fa7312a77f92b37a5e9b19bdcc89b8510675b4 (diff)
downloadrust-ddfac09363fa778e3830cdb7a9ce6de3d779072e.tar.gz
rust-ddfac09363fa778e3830cdb7a9ce6de3d779072e.zip
Fix docs
Diffstat (limited to 'docs')
-rw-r--r--docs/user/features.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/user/features.md b/docs/user/features.md
index 06bc7ded556..45360c63398 100644
--- a/docs/user/features.md
+++ b/docs/user/features.md
@@ -191,8 +191,9 @@ Two types of inlay hints are displayed currently:
 
 In VS Code, the following settings can be used to configure the inlay hints:
 
-* `rust-analyzer.inlayHintOpts.displayType` configure which types of inlay hints are shown.
-* `rust-analyzer.inlayHintOpts.maxLength` — shortens the hints if their length exceeds the value specified. If no value is specified (`null`), no shortening is applied.
+* `rust-analyzer.inlayHints.typeHints` - enable hints for inferred types.
+* `rust-analyzer.inlayHints.parameterHints` - enable hints for function parameters.
+* `rust-analyzer.inlayHints.maxLength` — shortens the hints if their length exceeds the value specified. If no value is specified (`null`), no shortening is applied.
 
 **Note:** VS Code does not have native support for inlay hints [yet](https://github.com/microsoft/vscode/issues/16221) and the hints are implemented using decorations.
 This approach has limitations, the caret movement and bracket highlighting near the edges of the hint may be weird: