about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/docs/user
diff options
context:
space:
mode:
authorWilfred Hughes <wilfred@meta.com>2024-07-31 16:10:42 -0700
committerWilfred Hughes <wilfred@meta.com>2024-07-31 16:10:42 -0700
commit1df27d84a1f4a45610ad2ba3e5fd982c532ea4fb (patch)
treefdf24cce0b9d19ba83d707045858bdd3e7896589 /src/tools/rust-analyzer/docs/user
parente12408bf1145a0339e37d73259c36999e078eb44 (diff)
docs: Fix JSON example for rust-analyzer.workspace.discoverConfig
The user does not specify `{arg}` in their JSON, and be pedantic about
commas in JSON sample.
Diffstat (limited to 'src/tools/rust-analyzer/docs/user')
-rw-r--r--src/tools/rust-analyzer/docs/user/generated_config.adoc7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/tools/rust-analyzer/docs/user/generated_config.adoc b/src/tools/rust-analyzer/docs/user/generated_config.adoc
index 29342e4b673..ac95767ea5b 100644
--- a/src/tools/rust-analyzer/docs/user/generated_config.adoc
+++ b/src/tools/rust-analyzer/docs/user/generated_config.adoc
@@ -1019,13 +1019,12 @@ Below is an example of a valid configuration:
 "rust-analyzer.workspace.discoverConfig": {
     "command": [
         "rust-project",
-        "develop-json",
-        {arg}
+        "develop-json"
     ],
     "progressLabel": "rust-analyzer",
     "filesToWatch": [
-        "BUCK",
-    ],
+        "BUCK"
+    ]
 }
 ```