Configure formatting
This commit is contained in:
parent
819784fd67
commit
20b90393aa
3 changed files with 14 additions and 1 deletions
1
.prettierrc.json
Normal file
1
.prettierrc.json
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
{ "proseWrap": "always" }
|
||||||
7
.vscode/extensions.json
vendored
Normal file
7
.vscode/extensions.json
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"recommendations": [
|
||||||
|
"charliermarsh.ruff",
|
||||||
|
"esbenp.prettier-vscode",
|
||||||
|
"myriad-dreamin.tinymist"
|
||||||
|
]
|
||||||
|
}
|
||||||
7
.vscode/settings.json
vendored
7
.vscode/settings.json
vendored
|
|
@ -1,3 +1,8 @@
|
||||||
{
|
{
|
||||||
"tinymist.exportTarget": "html"
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
|
"[python]": { "editor.defaultFormatter": "charliermarsh.ruff" },
|
||||||
|
"[typst]": { "editor.defaultFormatter": "myriad-dreamin.tinymist" },
|
||||||
|
|
||||||
|
"tinymist.formatterProseWrap": true,
|
||||||
|
"tinymist.formatterPrintWidth": 80
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue