diff options
| author | roifewu <roifewu@gmail.com> | 2025-04-09 11:29:05 +0800 |
|---|---|---|
| committer | roifewu <roifewu@gmail.com> | 2025-06-26 13:41:39 +0800 |
| commit | 62e112a780a25dbaba783324d8ecd7929076674a (patch) | |
| tree | 2efcb1f59f867b767f0a434ec9a7a618c5c74051 /src/tools/rust-analyzer/editors/code | |
| parent | 3e5c46fe6c123b237f2dc9fb653c65f5b6de9382 (diff) | |
feat: highlighting of related return values while the cursor is on any `match`, `if`, or match arm arrow (`=>`)
Diffstat (limited to 'src/tools/rust-analyzer/editors/code')
| -rw-r--r-- | src/tools/rust-analyzer/editors/code/package.json | 10 |
1 files changed, 10 insertions, 0 deletions
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 @@ -1532,6 +1532,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": { "rust-analyzer.highlightRelated.breakPoints.enable": { "markdownDescription": "Enables highlighting of related references while the cursor is on `break`, `loop`, `while`, or `for` keywords.", "default": true, |
