diff options
| author | bors <bors@rust-lang.org> | 2023-05-08 09:52:29 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-05-08 09:52:29 +0000 |
| commit | d3ce333ec858e33e7c881386784d7871c58db2d8 (patch) | |
| tree | d4b93f00579543d24a3c31939ad09217da003fb3 /editors/code/package.json | |
| parent | ff8b9699518d4fe92f08629d91b3983e00f75282 (diff) | |
| parent | 4c5fd19ee5734992344827b11c0d0e864b020b25 (diff) | |
| download | rust-d3ce333ec858e33e7c881386784d7871c58db2d8.tar.gz rust-d3ce333ec858e33e7c881386784d7871c58db2d8.zip | |
Auto merge of #14742 - Veykril:closure-capture-inlays, r=Veykril
feat: Closure capture inlay hints I opted for a fictional `move(foo, &bar, &mut qux)` syntax here, disabled by default as these are not correct rust syntax and hence could cause confusion. 
Diffstat (limited to 'editors/code/package.json')
| -rw-r--r-- | editors/code/package.json | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index c9de94f0227..fdcd707a07c 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -1037,6 +1037,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", |
