leave formatOnSave to the user (#1380)

This commit is contained in:
Ralf Jung 2022-07-01 11:35:13 -04:00 committed by GitHub
parent 11b40654fd
commit f423a3ad95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -36,7 +36,7 @@ you can write: <!-- date: 2022-04 --><!-- the date comment is for the edition be
"./build/$TARGET_TRIPLE/stage0/bin/rustfmt", "./build/$TARGET_TRIPLE/stage0/bin/rustfmt",
"--edition=2021" "--edition=2021"
], ],
"editor.formatOnSave": true, "rust-analyzer.procMacro.enable": true,
"rust-analyzer.cargo.buildScripts.enable": true, "rust-analyzer.cargo.buildScripts.enable": true,
"rust-analyzer.cargo.buildScripts.overrideCommand": [ "rust-analyzer.cargo.buildScripts.overrideCommand": [
"cargo", "cargo",
@ -46,7 +46,6 @@ you can write: <!-- date: 2022-04 --><!-- the date comment is for the edition be
"--message-format=json" "--message-format=json"
], ],
"rust-analyzer.rustc.source": "./Cargo.toml", "rust-analyzer.rustc.source": "./Cargo.toml",
"rust-analyzer.procMacro.enable": true,
} }
``` ```