Update package.json

This commit is contained in:
Lukas Wirth 2022-05-14 15:18:18 +02:00
parent 7cbde1b3a5
commit 977f0ba968
2 changed files with 10 additions and 0 deletions

View File

@ -344,6 +344,11 @@ Whether to allow import insertion to merge new imports into single path glob imp
--
The path structure for newly inserted paths to use.
--
[[rust-analyzer.inlayHints.bindingModeHints.enable]]rust-analyzer.inlayHints.bindingModeHints.enable (default: `false`)::
+
--
Whether to show inlay type hints for binding modes.
--
[[rust-analyzer.inlayHints.chainingHints.enable]]rust-analyzer.inlayHints.chainingHints.enable (default: `true`)::
+
--

View File

@ -784,6 +784,11 @@
"Force import paths to be absolute by always starting them with `crate` or the extern crate name they come from."
]
},
"rust-analyzer.inlayHints.bindingModeHints.enable": {
"markdownDescription": "Whether to show inlay type hints for binding modes.",
"default": false,
"type": "boolean"
},
"rust-analyzer.inlayHints.chainingHints.enable": {
"markdownDescription": "Whether to show inlay type hints for method chains.",
"default": true,