editor: Use Prettier for formatting within Zed
This commit is contained in:
parent
927d3cc160
commit
6cc83ef738
1 changed files with 12 additions and 0 deletions
12
.zed/settings.json
Normal file
12
.zed/settings.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"languages": {
|
||||
"HTML": {
|
||||
"formatter": {
|
||||
"external": {
|
||||
"command": "prettier",
|
||||
"arguments": ["--stdin-filepath", "{buffer_path}"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue