leave formatOnSave to the user (#1380)
This commit is contained in:
parent
11b40654fd
commit
f423a3ad95
|
|
@ -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,
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue