mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-02-26 04:49:17 -05:00
stop VSCode/Prettier from butchering markdown
This commit is contained in:
parent
9706dcaba1
commit
a4cf3be7a0
12
.vscode/settings.json
vendored
12
.vscode/settings.json
vendored
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user