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
This commit is contained in:
Marshall Bowers 2024-04-25 14:30:31 -04:00 committed by GitHub
parent d3f6ca7a1e
commit 7005f0b424
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"]