Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Remove outdated instructions for adding languages (#11005)

Marshall Bowers7005f0b4248a
diff --git a/crates/languages/src/lib.rs b/crates/languages/src/lib.rs
index ed9e8c351f5..3223aa87492 100644
--- a/crates/languages/src/lib.rs
+++ b/crates/languages/src/lib.rs
@@ -22,15 +22,6 @@ mod tailwind;
mod typescript;
mod yaml;
-// 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
-// 3. Add config.toml to the newly created language directory using existing languages as a template
-// 4. Copy highlights from tree sitter repo for the language into a highlights.scm file.
-// Note: github highlights take the last match while zed takes the first
-// 5. Add indents.scm, outline.scm, and brackets.scm to implement indent on newline, outline/breadcrumbs,
-// and autoclosing brackets respectively
-// 6. If the language has injections add an injections.scm query file
-
#[derive(RustEmbed)]
#[folder = "src/"]
#[exclude = "*.rs"]