Unnamed repository; edit this file 'description' to name the repository.
docs: Correct expansion argument formatting (#14123)
Alex Pearwin 7 months ago
parent 39cccc2 · commit 62f3cd3
-rw-r--r--book/src/languages.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/book/src/languages.md b/book/src/languages.md
index 066e58f0..b47c05cf 100644
--- a/book/src/languages.md
+++ b/book/src/languages.md
@@ -111,7 +111,7 @@ of the formatter command. In particular, the `%{buffer_name}` variable can be pa
argument to the formatter:
```toml
-formatter = { command = "mylang-formatter" , args = ["--stdin", "--stdin-filename %{buffer_name}"] }
+formatter = { command = "mylang-formatter" , args = ["--stdin", "--stdin-filename", "%{buffer_name}"] }
```
## Language Server configuration