From 7005f0b4248af9bc22cb7336b63219656a0bb2b3 Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Thu, 25 Apr 2024 14:30:31 -0400 Subject: [PATCH] Remove outdated instructions for adding languages (#11005) This PR removes the outdated comment regarding adding languages to Zed. New languages should be added as extensions. Release Notes: - N/A --- crates/languages/src/lib.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/crates/languages/src/lib.rs b/crates/languages/src/lib.rs index ed9e8c351f5ec7348bd87c38b5074dc5d1cce982..3223aa8749292443d53cf2cf0dc8260f05aaa249 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"]