Update extension extraction docs (#24079)
- Fixed a regex for finding tags. - Templatize the instructions with `$LANGNAME` to prevent manual errors from failing to edit commands (this bit me) - Ran formatting through Prettier
This commit is contained in:
parent
337b9e62d2
commit
5315d38cf4
2 changed files with 84 additions and 12 deletions
|
@ -95,6 +95,12 @@ To publish an extension, open a PR to [the `zed-industries/extensions` repo](htt
|
|||
In your PR, do the following:
|
||||
|
||||
1. Add your extension as a Git submodule within the `extensions/` directory
|
||||
|
||||
```sh
|
||||
git submodule add https://github.com/your-username/foobar-zed.git extensions/foobar
|
||||
git add extensions/foobar
|
||||
```
|
||||
|
||||
2. Add a new entry to the top-level `extensions.toml` file containing your extension:
|
||||
|
||||
```toml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue