diff options
| author | hecatia-elegua <108802164+hecatia-elegua@users.noreply.github.com> | 2023-04-11 21:14:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-11 21:14:52 +0200 |
| commit | 398af0259f7614ff8a0d603edd5d94ce9aecd5f2 (patch) | |
| tree | 207fc25b5c6d73d5c7833fab11d24d2fa5a837d7 /editors/code/package.json | |
| parent | 33ee157f3b05865984957953df21f4711f8e5cd6 (diff) | |
| parent | 7501d3b721560637e27f904d9fce79182c41bef7 (diff) | |
| download | rust-398af0259f7614ff8a0d603edd5d94ce9aecd5f2.tar.gz rust-398af0259f7614ff8a0d603edd5d94ce9aecd5f2.zip | |
Merge branch 'master' into alias-based-completion2
Diffstat (limited to 'editors/code/package.json')
| -rw-r--r-- | editors/code/package.json | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 81fa97269a9..087fd1296b3 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -1028,6 +1028,23 @@ "Only show type hints for return types of closures with blocks." ] }, + "rust-analyzer.inlayHints.closureStyle": { + "markdownDescription": "Closure notation in type and chaining inaly hints.", + "default": "impl_fn", + "type": "string", + "enum": [ + "impl_fn", + "rust_analyzer", + "with_id", + "hide" + ], + "enumDescriptions": [ + "`impl_fn`: `impl FnMut(i32, u64) -> i8`", + "`rust_analyzer`: `|i32, u64| -> i8`", + "`with_id`: `{closure#14352}`, where that id is the unique number of the closure in r-a internals", + "`hide`: Shows `...` for every closure type" + ] + }, "rust-analyzer.inlayHints.discriminantHints.enable": { "markdownDescription": "Whether to show enum variant discriminant hints.", "default": "never", |
