Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

docs: Fix missing } in multiple formatters example (#22964)

Jeremy Cowgarb74cb9297839
diff --git a/docs/src/configuring-zed.md b/docs/src/configuring-zed.md
index ede2717cb95..88f0aeaab75 100644
--- a/docs/src/configuring-zed.md
+++ b/docs/src/configuring-zed.md
@@ -996,10 +996,12 @@ WARNING: `{buffer_path}` should not be used to direct your formatter to read fro
```json
{
"formatter": [
- {"language_server": {"name": "rust-analyzer"}},
- {"external": {
- "command": "sed",
- "arguments": ["-e", "s/ *$//"]
+ { "language_server": { "name": "rust-analyzer" } },
+ {
+ "external": {
+ "command": "sed",
+ "arguments": ["-e", "s/ *$//"]
+ }
}
]
}