Add zig support
This commit is contained in:
parent
37647a67a7
commit
e5b71cc6ac
10 changed files with 430 additions and 0 deletions
|
@ -31,6 +31,7 @@ mod typescript;
|
|||
mod uiua;
|
||||
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
|
||||
|
@ -112,6 +113,11 @@ pub fn init(
|
|||
tree_sitter_go::language(),
|
||||
vec![Arc::new(go::GoLspAdapter)],
|
||||
);
|
||||
language(
|
||||
"zig",
|
||||
tree_sitter_zig::language(),
|
||||
vec![Arc::new(zig::ZlsAdapter)],
|
||||
);
|
||||
language(
|
||||
"heex",
|
||||
tree_sitter_heex::language(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue