From 62e112a780a25dbaba783324d8ecd7929076674a Mon Sep 17 00:00:00 2001 From: roifewu Date: Wed, 9 Apr 2025 11:29:05 +0800 Subject: feat: highlighting of related return values while the cursor is on any `match`, `if`, or match arm arrow (`=>`) --- src/tools/rust-analyzer/editors/code/package.json | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/tools/rust-analyzer/editors/code') diff --git a/src/tools/rust-analyzer/editors/code/package.json b/src/tools/rust-analyzer/editors/code/package.json index 26a21c1468d..c792ef0ffdc 100644 --- a/src/tools/rust-analyzer/editors/code/package.json +++ b/src/tools/rust-analyzer/editors/code/package.json @@ -1529,6 +1529,16 @@ } } }, + { + "title": "highlightRelated", + "properties": { + "rust-analyzer.highlightRelated.branches.enable": { + "markdownDescription": "Enables highlighting of related return values while the cursor is on any `match`, `if`, or match arm arrow (`=>`).", + "default": true, + "type": "boolean" + } + } + }, { "title": "highlightRelated", "properties": { -- cgit 1.4.1-3-g733a5