From a64626d99e656cd2b229d9e0dfcefb96e58dd9f2 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Tue, 2 May 2023 08:52:08 +0200 Subject: Highlight closure captures when cursor is on pipe --- editors/code/package.json | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'editors/code/package.json') 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, -- cgit 1.4.1-3-g733a5