feat: highlighting of related return values while the cursor is on any match, if, or match arm arrow (=>)

This commit is contained in:
roifewu 2025-04-09 11:29:05 +08:00
parent c6633fa1f2
commit f87220e22a
6 changed files with 775 additions and 9 deletions

View file

@ -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": {