csharp: Use lsp settings to locate binary if present (#15885)
C# extension now honors the "lsp" config section Release Notes: - N/A --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
This commit is contained in:
co-authored by
Marshall Bowers
parent
5ce6c374b0
commit
864c443f4b
@@ -1,3 +1,20 @@
|
||||
# C#
|
||||
|
||||
C# support is available through the [C# extension](https://github.com/zed-industries/zed/tree/main/extensions/csharp).
|
||||
|
||||
## Configuration
|
||||
|
||||
The `OmniSharp` binary can be configured in a Zed settings file with:
|
||||
|
||||
```jsonc
|
||||
{
|
||||
"lsp": {
|
||||
"omnisharp": {
|
||||
"binary": {
|
||||
"path": "/path/to/OmniSharp",
|
||||
"args": ["optional", "additional", "args", "-lsp"],
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user