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:
parent
d3f6ca7a1e
commit
7005f0b424
1 changed files with 0 additions and 9 deletions
|
@ -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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue