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
This commit is contained in:
Marshall Bowers 2025-03-07 14:02:35 -05:00 committed by GitHub
parent 1b34437839
commit 05d3ee8555
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 0 deletions

1
Cargo.lock generated
View file

@ -4537,6 +4537,7 @@ dependencies = [
"async-tar",
"async-trait",
"collections",
"convert_case 0.8.0",
"fs",
"futures 0.3.31",
"gpui",