]> git.lizzy.rs Git - rust.git/commitdiff
Update package.json
authorLukas Wirth <lukastw97@gmail.com>
Sat, 14 May 2022 13:18:18 +0000 (15:18 +0200)
committerLukas Wirth <lukastw97@gmail.com>
Sat, 14 May 2022 13:18:18 +0000 (15:18 +0200)
docs/user/generated_config.adoc
editors/code/package.json

index 35e0a4082ebd746c52c646a5c102196c8ae69baf..ca7e3313134bc7e1b6e2f5544102924e11003ab7 100644 (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`)::
 +
 --
index 62b0f3c0baf7c89bd18b77f2e0f6ccf48d3c4779..3d2f2a0b48a9bed1295388ec6f42ea406a1e1409 100644 (file)
                         "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,