stop VSCode/Prettier from butchering markdown

This commit is contained in:
Scott Lamb 2021-02-22 13:54:16 -08:00
parent 9706dcaba1
commit a4cf3be7a0

12
.vscode/settings.json vendored
View File

@ -9,9 +9,21 @@
} }
], ],
"editor.formatOnSave": true, "editor.formatOnSave": true,
"editor.formatOnSaveMode": "modifications",
"editor.formatOnType": true,
"editor.formatOnPaste": true,
"editor.defaultFormatter": "esbenp.prettier-vscode", "editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.insertSpaces": true, "editor.insertSpaces": true,
"[markdown]": {
"editor.tabSize": 4,
// I find Prettier's markdown style jarring, including converting `*`
// bullets to `-` and two-column indents. It's not customizable either.
// Don't use it.
"editor.defaultFormatter": null
},
// Rust-specific overrides. // Rust-specific overrides.
"[rust]": { "[rust]": {
"editor.tabSize": 4, "editor.tabSize": 4,