diff --git a/crates/rust-analyzer/src/config/patch_old_style.rs b/crates/rust-analyzer/src/config/patch_old_style.rs index ff0cb2b6398..104201682b4 100644 --- a/crates/rust-analyzer/src/config/patch_old_style.rs +++ b/crates/rust-analyzer/src/config/patch_old_style.rs @@ -36,9 +36,9 @@ macro_rules! patch { assist.importPrefix -> imports.prefix; cache.warmup -> primeCaches.enable; cargo.loadOutDirsFromCheck -> cargo.buildScripts.enable; - cargo.runBuildScripts -> cargo.runBuildScripts.overrideCommand; - cargo.runBuildScriptsCommand -> cargo.runBuildScripts.overrideCommand; - cargo.useRustcWrapperForBuildScripts -> cargo.runBuildScripts.useRustcWrapper; + cargo.runBuildScripts -> cargo.buildScripts.enable; + cargo.runBuildScriptsCommand -> cargo.buildScripts.overrideCommand; + cargo.useRustcWrapperForBuildScripts -> cargo.buildScripts.useRustcWrapper; diagnostics.enableExperimental -> diagnostics.experimental.enable; experimental.procAttrMacros -> procMacro.attributes.enable; highlighting.strings -> semanticHighlighting.strings.enable; diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts index 5b650e1420a..0ce538e2e98 100644 --- a/editors/code/src/config.ts +++ b/editors/code/src/config.ts @@ -148,9 +148,9 @@ export async function updateConfig(config: vscode.WorkspaceConfiguration) { ["assist.importPrefix", "imports.prefix",], ["cache.warmup", "primeCaches.enable",], ["cargo.loadOutDirsFromCheck", "cargo.buildScripts.enable",], - ["cargo.runBuildScripts", "cargo.runBuildScripts.overrideCommand",], - ["cargo.runBuildScriptsCommand", "cargo.runBuildScripts.overrideCommand",], - ["cargo.useRustcWrapperForBuildScripts", "cargo.runBuildScripts.useRustcWrapper",], + ["cargo.runBuildScripts", "cargo.buildScripts.enable",], + ["cargo.runBuildScriptsCommand", "cargo.buildScripts.overrideCommand",], + ["cargo.useRustcWrapperForBuildScripts", "cargo.buildScripts.useRustcWrapper",], ["completion.snippets", "completion.snippets.custom",], ["diagnostics.enableExperimental", "diagnostics.experimental.enable",], ["experimental.procAttrMacros", "procMacro.attributes.enable",],