From 44dc693d30b84072f900d11ed10ea03747a2d2ca Mon Sep 17 00:00:00 2001 From: Alvaro Gaona Date: Mon, 21 Oct 2024 05:07:12 -0300 Subject: [PATCH] docs: Update C# and C++ configuration pages (#19500) - Update C# configuration page. - Fix typo in C++ configuration page. Release Notes: - N/A --- docs/src/languages/cpp.md | 2 +- docs/src/languages/csharp.md | 16 +++++++++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/docs/src/languages/cpp.md b/docs/src/languages/cpp.md index dac1f210d48c29ca32d7d45fc171c1a1a556f808..1aa2d5e77c7399586f35d495c0c8787b84062e01 100644 --- a/docs/src/languages/cpp.md +++ b/docs/src/languages/cpp.md @@ -24,7 +24,7 @@ To use a binary in a custom location, add the following to your `settings.json`: } ``` -If you want to disable Zed looking for a `clangd` binary, you can set `ignore_system-version` to `true`: +If you want to disable Zed looking for a `clangd` binary, you can set `ignore_system_version` to `true`: ```json { diff --git a/docs/src/languages/csharp.md b/docs/src/languages/csharp.md index bf3b793c34f53ef9ef487e1e7f9d508a6f0cdd74..443b71b74b9cba45216abf998e676324fab4c41d 100644 --- a/docs/src/languages/csharp.md +++ b/docs/src/languages/csharp.md @@ -17,7 +17,21 @@ The `OmniSharp` binary can be configured in a Zed settings file with: "omnisharp": { "binary": { "path": "/path/to/OmniSharp", - "args": ["optional", "additional", "args", "-lsp"] + "arguments": ["optional", "additional", "args", "-lsp"] + } + } + } +} +``` + +If you want to disable Zed looking for a `omnisharp` binary, you can set `ignore_system_version` to `true`: + +```json +{ + "lsp": { + "omnisharp": { + "binary": { + "ignore_system_version": true } } }