about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-05-17 12:56:25 +0000
committerbors <bors@rust-lang.org>2022-05-17 12:56:25 +0000
commitf8fc0ea528166e7cd8202caa63c8f385c1e76d19 (patch)
treee1ece5728d99abe254bb91ad65628711ae933f92
parent3bbdb0dbb6348cfabab8802883e47ad82c1719ff (diff)
parentd43b9dae5660aba0d18b2499c40af9dbb6bef571 (diff)
downloadrust-f8fc0ea528166e7cd8202caa63c8f385c1e76d19.tar.gz
rust-f8fc0ea528166e7cd8202caa63c8f385c1e76d19.zip
Auto merge of #12289 - rust-lang:Veykril-patch-1, r=Veykril
fix: Fix incorrect config key in client config update

Closes https://github.com/rust-lang/rust-analyzer/issues/12288
-rw-r--r--editors/code/src/config.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts
index 952a88acff7..9837fd16f57 100644
--- a/editors/code/src/config.ts
+++ b/editors/code/src/config.ts
@@ -172,7 +172,7 @@ export async function updateConfig(config: vscode.WorkspaceConfiguration) {
         ["hoverActions.run", "hover.actions.run.enable",],
         ["inlayHints.chainingHints", "inlayHints.chainingHints.enable",],
         ["inlayHints.closureReturnTypeHints", "inlayHints.closureReturnTypeHints.enable",],
-        ["inlayHints.hideNamedConstructorHints", "inlayHints.typeHints.hideNamedConstructorHints",],
+        ["inlayHints.hideNamedConstructorHints", "inlayHints.typeHints.hideNamedConstructor",],
         ["inlayHints.parameterHints", "inlayHints.parameterHints.enable",],
         ["inlayHints.reborrowHints", "inlayHints.reborrowHints.enable",],
         ["inlayHints.typeHints", "inlayHints.typeHints.enable",],