diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2023-05-02 08:52:08 +0200 |
|---|---|---|
| committer | Lukas Wirth <lukastw97@gmail.com> | 2023-05-02 08:59:40 +0200 |
| commit | a64626d99e656cd2b229d9e0dfcefb96e58dd9f2 (patch) | |
| tree | 8397cd867215b7b96bc82bd803ece6b12a529f97 /docs | |
| parent | 9c0c13ec8e47cfe487f46136b394c0372e957968 (diff) | |
| download | rust-a64626d99e656cd2b229d9e0dfcefb96e58dd9f2.tar.gz rust-a64626d99e656cd2b229d9e0dfcefb96e58dd9f2.zip | |
Highlight closure captures when cursor is on pipe
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/dev/lsp-extensions.md | 2 | ||||
| -rw-r--r-- | docs/user/generated_config.adoc | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/docs/dev/lsp-extensions.md b/docs/dev/lsp-extensions.md index 76080eca4e0..42f58fee30e 100644 --- a/docs/dev/lsp-extensions.md +++ b/docs/dev/lsp-extensions.md @@ -1,5 +1,5 @@ <!--- -lsp_ext.rs hash: 37ac44a0f507e05a +lsp_ext.rs hash: 31ca513a249753ab If you need to change the above hash to make the test pass, please check if you need to adjust this doc as well and ping this issue: 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`):: + -- |
