Extract Zig support into an extension (#9893)
This PR extracts Zig support into an extension and removes the built-in Zig support from Zed. There's a small workaround necessary in order for us to set the file permissions on the `zls` binary so that it can be run. Eventually we'll want to build this into the extension API, but for now we're just hard-coding it on the host side. Release Notes: - Removed built-in support for Zig, in favor of making it available as an extension. The Zig extension will be suggested for download when you open a `.zig` file.
This commit is contained in:
parent
9bce5e8b82
commit
ff685b299d
18 changed files with 170 additions and 158 deletions
|
@ -36,7 +36,6 @@ mod toml;
|
|||
mod typescript;
|
||||
mod vue;
|
||||
mod yaml;
|
||||
mod zig;
|
||||
|
||||
// 1. Add tree-sitter-{language} parser to zed crate
|
||||
// 2. Create a language directory in zed/crates/zed/src/languages and add the language to init function below
|
||||
|
@ -105,7 +104,6 @@ pub fn init(
|
|||
("typescript", tree_sitter_typescript::language_typescript()),
|
||||
("vue", tree_sitter_vue::language()),
|
||||
("yaml", tree_sitter_yaml::language()),
|
||||
("zig", tree_sitter_zig::language()),
|
||||
("dart", tree_sitter_dart::language()),
|
||||
]);
|
||||
|
||||
|
@ -212,7 +210,6 @@ pub fn init(
|
|||
language!("go", vec![Arc::new(go::GoLspAdapter)]);
|
||||
language!("gomod");
|
||||
language!("gowork");
|
||||
language!("zig", vec![Arc::new(zig::ZlsAdapter)]);
|
||||
language!(
|
||||
"heex",
|
||||
vec![
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue