expose config for hover struct field display

This commit is contained in:
Young-Flash 2024-03-21 17:56:49 +08:00
parent 6f6b03f9de
commit d81148a009
3 changed files with 17 additions and 0 deletions

View file

@ -1144,6 +1144,15 @@
}
]
},
"rust-analyzer.hover.show.structFields": {
"markdownDescription": "How many fields of a struct to display when hovering a struct.",
"default": null,
"type": [
"null",
"integer"
],
"minimum": 0
},
"rust-analyzer.hover.show.traitAssocItems": {
"markdownDescription": "How many associated items of a trait to display when hovering a trait.",
"default": null,