# extension_cli: Populate grammars from \`grammars\` directory for legacy extension formats \(\#9650\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/adcb591629cbcbd5e75fdaf775de267f64eff064)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: adcb591629cbcbd5e75fdaf775de267f64eff064

Requested commit: adcb591629cbcbd5e75fdaf775de267f64eff064

Commit: adcb591629cbcbd5e75fdaf775de267f64eff064

Tree: b807f317e498120d2d6071ef7e9d5df935a8ae2f

Author: Marshall Bowers

Committer: GitHub

## Message

```
extension_cli: Populate grammars from `grammars` directory for legacy extension formats (#9650)

This PR makes the extension CLI populate the grammars in the manifest
from the contents of the `grammars` directory for legacy extensions
using the `extension.json` format (`schema_version == 0`).

This allows us to continue packaging these older extensions until they
can be migrated to the new schema version.

Release Notes:

- N/A
```

## Parents

- [d89905fc3d066cb9e1cf10d70e31b731fdc31cd4](https://git.cafe/gitcafe/zed/commit/d89905fc3d066cb9e1cf10d70e31b731fdc31cd4?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/adcb591629cbcbd5e75fdaf775de267f64eff064?format=markdown)
