feat: Closure capture inlay hints

This commit is contained in:
Lukas Wirth 2023-05-05 13:34:55 +02:00
parent 0dd94d3b07
commit 8081a654da
10 changed files with 264 additions and 14 deletions

View file

@ -1032,6 +1032,11 @@
"type": "integer",
"minimum": 0
},
"rust-analyzer.inlayHints.closureCaptureHints.enable": {
"markdownDescription": "Whether to show inlay hints for closure captures.",
"default": false,
"type": "boolean"
},
"rust-analyzer.inlayHints.closureReturnTypeHints.enable": {
"markdownDescription": "Whether to show inlay type hints for return types of closures.",
"default": "never",