From 6f8d70363d0860aa84665910568ed5a9b53b1bc8 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Sat, 22 Feb 2020 13:52:49 +0300 Subject: One more tiny doc fix --- docs/user/features.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/user/features.md b/docs/user/features.md index ef58393cd..e0735dcd8 100644 --- a/docs/user/features.md +++ b/docs/user/features.md @@ -177,7 +177,7 @@ Two types of inlay hints are displayed currently: In VS Code, the following settings can be used to configure the inlay hints: * `rust-analyzer.displayInlayHints` — toggles inlay hints display on or off -* rust-analyzer.maxInlayHintLength — shortens the hints if their length exceeds the value specified. If no value is specified (`null`), no shorteninng is applied. +* `rust-analyzer.maxInlayHintLength` — shortens the hints if their length exceeds the value specified. If no value is specified (`null`), no shorteninng 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 near the end of the hint may look [weird](https://github.com/rust-analyzer/rust-analyzer/issues/1623). -- cgit v1.2.3