Extract C# support into an extension (#9971)

This PR extracts C# support into an extension and removes the built-in
C# support from Zed.

Tested using a Nix shell:

```
nix-shell -p dotnet-sdk omnisharp-roslyn
```

Release Notes:

- Removed built-in support for C#, in favor of making it available as an
extension. The C# extension will be suggested for download when you open
a `.cs` file.
This commit is contained in:
Marshall Bowers 2024-03-29 16:38:27 -04:00 committed by GitHub
parent 5d531037c4
commit df3050dac1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 157 additions and 163 deletions

View file

@ -13,7 +13,6 @@ use self::{deno::DenoSettings, elixir::ElixirSettings};
mod c;
mod clojure;
mod csharp;
mod css;
mod dart;
mod deno;
@ -60,7 +59,6 @@ pub fn init(
languages.register_native_grammars([
("bash", tree_sitter_bash::language()),
("c", tree_sitter_c::language()),
("c_sharp", tree_sitter_c_sharp::language()),
("clojure", tree_sitter_clojure::language()),
("cpp", tree_sitter_cpp::language()),
("css", tree_sitter_css::language()),
@ -164,7 +162,6 @@ pub fn init(
language!("c", vec![Arc::new(c::CLspAdapter) as Arc<dyn LspAdapter>]);
language!("clojure", vec![Arc::new(clojure::ClojureLspAdapter)]);
language!("cpp", vec![Arc::new(c::CLspAdapter)]);
language!("csharp", vec![Arc::new(csharp::OmniSharpAdapter {})]);
language!(
"css",
vec![