ZIm/crates/zed/src/languages/rust
Max Brunsfeld 6edeea7c8a
Add logic for managing language and theme extensions (#7467)
This PR adds the initial support for loading extensions in Zed.

### Extensions Directory

Extensions are loaded from the extensions directory.

The extensions directory has the following structure:

```
extensions/
  installed/
    extension-a/
      grammars/
      languages/
    extension-b/
      themes/
  manifest.json
```

The `manifest.json` file is used internally by Zed to keep track of
which extensions are installed. This file should be maintained
automatically, and shouldn't require any direct interaction with it.

Extensions can provide Tree-sitter grammars, languages, and themes.

Release Notes:

- N/A

---------

Co-authored-by: Marshall <marshall@zed.dev>
2024-02-07 15:14:50 -05:00
..
brackets.scm WIP 2022-03-29 11:06:08 -07:00
config.toml Add logic for managing language and theme extensions (#7467) 2024-02-07 15:14:50 -05:00
embedding.scm move collapsed only matches outside item parent in embedding.scm 2023-10-03 11:56:45 +03:00
highlights.scm Revert "Extract syntax highlighting properties from tree-sitter highlight queries (#2797)" 2023-08-02 12:15:39 -07:00
indents.scm Highlight and auto-indent await expressions in rust 2023-01-20 15:56:56 -08:00
injections.scm Revert "Extract syntax highlighting properties from tree-sitter highlight queries (#2797)" 2023-08-02 12:15:39 -07:00
outline.scm WIP 2022-03-29 11:06:08 -07:00
overrides.scm Drop 'override.' prefix from capture names in override query 2023-01-20 10:44:33 -08:00