Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'editors/code/package.json')
| -rw-r--r-- | editors/code/package.json | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index c6f4bc6ce3..1cc510758f 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -823,8 +823,21 @@ }, "rust-analyzer.inlayHints.reborrowHints.enable": { "markdownDescription": "Whether to show inlay type hints for compiler inserted reborrows.", - "default": false, - "type": "boolean" + "default": "never", + "type": [ + "string", + "boolean" + ], + "enum": [ + "always", + "never", + "mutable" + ], + "enumDescriptions": [ + "Always show reborrow hints.", + "Never show reborrow hints.", + "Only show mutable reborrow hints." + ] }, "rust-analyzer.inlayHints.renderColons": { "markdownDescription": "Whether to render leading colons for type hints, and trailing colons for parameter hints.", |