Extract Erlang support into an extension (#9974)

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

Tested using a Nix shell:

```
nix-shell -p erlang-ls
```

Release Notes:

- Removed built-in support for Erlang, in favor of making it available
as an extension. The Erlang extension will be suggested for download
when you open a `.erl` or `.hrl` file.
This commit is contained in:
Marshall Bowers 2024-03-29 18:03:38 -04:00 committed by GitHub
parent 30193647f3
commit b0fb02e4be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 69 additions and 81 deletions

View file

@ -18,7 +18,6 @@ mod dart;
mod deno;
mod elixir;
mod elm;
mod erlang;
mod go;
mod html;
mod json;
@ -68,7 +67,6 @@ pub fn init(
"embedded_template",
tree_sitter_embedded_template::language(),
),
("erlang", tree_sitter_erlang::language()),
("glsl", tree_sitter_glsl::language()),
("go", tree_sitter_go::language()),
("gomod", tree_sitter_gomod::language()),
@ -199,7 +197,6 @@ pub fn init(
);
}
}
language!("erlang", vec![Arc::new(erlang::ErlangLspAdapter)]);
language!("go", vec![Arc::new(go::GoLspAdapter)]);
language!("gomod");
language!("gowork");