mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-01 04:18:20 +00:00
feat: highlighting of related return values while the cursor is on any match, if, or match arm arrow (=>)
This commit is contained in:
parent
c6633fa1f2
commit
f87220e22a
6 changed files with 775 additions and 9 deletions
|
|
@ -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": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue