csharp.md

 1# C#
 2
 3Note language name is "CSharp" for settings not "C#'
 4
 5C# support is available through the [C# extension](https://github.com/zed-extensions/csharp).
 6
 7- Tree-sitter: [tree-sitter/tree-sitter-c-sharp](https://github.com/tree-sitter/tree-sitter-c-sharp)
 8- Language Server: [OmniSharp/omnisharp-roslyn](https://github.com/OmniSharp/omnisharp-roslyn)
 9
10## Configuration
11
12The `OmniSharp` binary can be configured in a Zed settings file with:
13
14```json
15{
16  "lsp": {
17    "omnisharp": {
18      "binary": {
19        "path": "/path/to/OmniSharp",
20        "arguments": ["optional", "additional", "args", "-lsp"]
21      }
22    }
23  }
24}
25```
26
27If you want to disable Zed looking for a `omnisharp` binary, you can set `ignore_system_version` to `true`:
28
29```json
30{
31  "lsp": {
32    "omnisharp": {
33      "binary": {
34        "ignore_system_version": true
35      }
36    }
37  }
38}
39```