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 /editors/code/package.json | |
| parent | 9c0c13ec8e47cfe487f46136b394c0372e957968 (diff) | |
| download | rust-a64626d99e656cd2b229d9e0dfcefb96e58dd9f2.tar.gz rust-a64626d99e656cd2b229d9e0dfcefb96e58dd9f2.zip | |
Highlight closure captures when cursor is on pipe
Diffstat (limited to 'editors/code/package.json')
| -rw-r--r-- | editors/code/package.json | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index d46c248cd49..f36e34b6a1b 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -886,6 +886,11 @@ "default": true, "type": "boolean" }, + "rust-analyzer.highlightRelated.closureCaptures.enable": { + "markdownDescription": "Enables highlighting of all captures of a closure while the cursor is on the `|` or move keyword of a closure.", + "default": true, + "type": "boolean" + }, "rust-analyzer.highlightRelated.exitPoints.enable": { "markdownDescription": "Enables highlighting of all exit points while the cursor is on any `return`, `?`, `fn`, or return type arrow (`->`).", "default": true, |
