From 8081a654dac2e174c465263292616858e7f7ac1b Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Fri, 5 May 2023 13:34:55 +0200 Subject: feat: Closure capture inlay hints --- docs/user/generated_config.adoc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/user') 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"`):: + -- -- cgit 1.4.1-3-g733a5