about summary refs log tree commit diff
path: root/docs/user
diff options
context:
space:
mode:
authorJonas Schievink <jonas.schievink@ferrous-systems.com>2022-05-13 19:42:59 +0200
committerJonas Schievink <jonas.schievink@ferrous-systems.com>2022-05-16 14:55:47 +0200
commit867a7dc7a0aa89d65ebd6624c28aaa42b441022f (patch)
tree05b6723cb4ffd1f6470c3543a584a0fb756741c2 /docs/user
parent58234c64da2ab535c1028728f422be5dd94f8e4c (diff)
Show inlay hints after a `}` to indicate the closed item
Diffstat (limited to 'docs/user')
-rw-r--r--docs/user/generated_config.adoc11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc
index 57f04067a3d..d8585ffb1de 100644
--- a/docs/user/generated_config.adoc
+++ b/docs/user/generated_config.adoc
@@ -355,6 +355,17 @@ Whether to show inlay type hints for binding modes.
 --
 Whether to show inlay type hints for method chains.
 --
+[[rust-analyzer.inlayHints.closingBraceHints.enable]]rust-analyzer.inlayHints.closingBraceHints.enable (default: `true`)::
++
+--
+Whether to show inlay hints after a closing `}` to indicate what item it belongs to.
+--
+[[rust-analyzer.inlayHints.closingBraceHints.minLines]]rust-analyzer.inlayHints.closingBraceHints.minLines (default: `25`)::
++
+--
+Minimum number of lines required before the `}` until the hint is shown (set to 0 or 1
+to always show them).
+--
 [[rust-analyzer.inlayHints.closureReturnTypeHints.enable]]rust-analyzer.inlayHints.closureReturnTypeHints.enable (default: `false`)::
 +
 --