Add zig support

This commit is contained in:
Allan Calix 2024-01-24 20:07:18 -08:00
parent 37647a67a7
commit e5b71cc6ac
No known key found for this signature in database
10 changed files with 430 additions and 0 deletions

View file

@ -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(),