about summary refs log tree commit diff
path: root/docs/user
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2023-05-02 08:52:08 +0200
committerLukas Wirth <lukastw97@gmail.com>2023-05-02 08:59:40 +0200
commita64626d99e656cd2b229d9e0dfcefb96e58dd9f2 (patch)
tree8397cd867215b7b96bc82bd803ece6b12a529f97 /docs/user
parent9c0c13ec8e47cfe487f46136b394c0372e957968 (diff)
downloadrust-a64626d99e656cd2b229d9e0dfcefb96e58dd9f2.tar.gz
rust-a64626d99e656cd2b229d9e0dfcefb96e58dd9f2.zip
Highlight closure captures when cursor is on pipe
Diffstat (limited to 'docs/user')
-rw-r--r--docs/user/generated_config.adoc5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc
index e9b3d45a373..aad6969671c 100644
--- a/docs/user/generated_config.adoc
+++ b/docs/user/generated_config.adoc
@@ -352,6 +352,11 @@ Controls file watching implementation.
 --
 Enables highlighting of related references while the cursor is on `break`, `loop`, `while`, or `for` keywords.
 --
+[[rust-analyzer.highlightRelated.closureCaptures.enable]]rust-analyzer.highlightRelated.closureCaptures.enable (default: `true`)::
++
+--
+Enables highlighting of all captures of a closure while the cursor is on the `|` or move keyword of a closure.
+--
 [[rust-analyzer.highlightRelated.exitPoints.enable]]rust-analyzer.highlightRelated.exitPoints.enable (default: `true`)::
 +
 --