From b74cb92978391ecce12159819f29da913a669f55 Mon Sep 17 00:00:00 2001 From: Jeremy Cowgar Date: Fri, 10 Jan 2025 09:39:34 -0500 Subject: [PATCH] docs: Fix missing } in multiple formatters example (#22964) Add a missing } in the multiple formatters example in the configuring Zed section of the manual. Release Notes: - Fixed a missing } in the multiple formatters doc example --- docs/src/configuring-zed.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/src/configuring-zed.md b/docs/src/configuring-zed.md index ede2717cb9..88f0aeaab7 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/ *$//"] + } } ] }