fix: Fix incorrect config patching for runBuildScripts
This commit is contained in:
parent
b271ef8fd1
commit
e68352a9f5
@ -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;
|
||||
|
@ -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",],
|
||||
|
Loading…
Reference in New Issue
Block a user