# extension: Require that grammar names are written in snake_case \(\#26295\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 05d3ee8555a97474876a215535895cf9be204f52

Requested commit: 05d3ee8555a97474876a215535895cf9be204f52

Commit: 05d3ee8555a97474876a215535895cf9be204f52

Tree: 68f8d6110df380ae17ee0865b01427a2fc773b9c

Author: Marshall Bowers

Committer: GitHub

## Message

```
extension: Require that grammar names are written in snake_case (#26295)

This PR updates the `ExtensionBuilder` to require that grammar names are
written in snake_case.

The grammar names are used to construct identifiers, so we need them to
be valid C identifiers.

Release Notes:

- N/A
```

## Parents

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

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